commit: ad003ecab4cd7379af672474e3a10f9bee715d3d
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 31 18:03:58 2025 +0000
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Fri Oct 31 18:13:45 2025 +0000
URL: https://gitweb.gentoo.org/proj/releng.git/commit/?id=ad003eca
specs/amd64/livegui: add pk rule for future calamares installer setup
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
releases/specs/amd64/livegui/files/fsscript-stage2.sh | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/releases/specs/amd64/livegui/files/fsscript-stage2.sh
b/releases/specs/amd64/livegui/files/fsscript-stage2.sh
index ed3e75a7..0a28fc5d 100755
--- a/releases/specs/amd64/livegui/files/fsscript-stage2.sh
+++ b/releases/specs/amd64/livegui/files/fsscript-stage2.sh
@@ -149,4 +149,10 @@ polkit.addRule(function(action, subject) {
if (action.id == "org.freedesktop.udisks2.filesystem-mount-system") {
return polkit.Result.YES;
}
+});
+
+polkit.addRule(function(action, subject) {
+ if (action.id == "com.github.calamares.calamares.pkexec.run") {
+ return polkit.Result.YES;
+ }
});' > /etc/polkit-1/rules.d/livegui-root-tools.rules