1 |
commit: 20f2105ed09fb8e29fb3a015b901d4011bbb4292 |
2 |
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Mar 1 16:06:13 2022 +0000 |
4 |
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Mar 1 16:06:13 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/releng.git/commit/?id=20f2105e |
7 |
|
8 |
specs/amd64/livegui: allow root for mounts |
9 |
|
10 |
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org> |
11 |
|
12 |
releases/specs/amd64/livegui/files/fsscript-stage2.sh | 6 ++++++ |
13 |
1 file changed, 6 insertions(+) |
14 |
|
15 |
diff --git a/releases/specs/amd64/livegui/files/fsscript-stage2.sh b/releases/specs/amd64/livegui/files/fsscript-stage2.sh |
16 |
index 32931eb6..7c11b074 100755 |
17 |
--- a/releases/specs/amd64/livegui/files/fsscript-stage2.sh |
18 |
+++ b/releases/specs/amd64/livegui/files/fsscript-stage2.sh |
19 |
@@ -60,4 +60,10 @@ polkit.addRule(function(action, subject) { |
20 |
if (action.id == "org.kde.kpmcore.externalcommand.init") { |
21 |
return polkit.Result.YES; |
22 |
} |
23 |
+}); |
24 |
+ |
25 |
+polkit.addRule(function(action, subject) { |
26 |
+ if (action.id == "org.freedesktop.udisks2.filesystem-mount-system") { |
27 |
+ return polkit.Result.YES; |
28 |
+ } |
29 |
});" > /etc/polkit-1/rules.d/livegui-root-tools.rules |