specs/amd64/livegui: allow root for mounts

Signed-off-by: Ben Kohler <bkohler@gentoo.org>
This commit is contained in:
Ben Kohler 2022-03-01 10:06:13 -06:00
parent 05d3853edc
commit 20f2105ed0
No known key found for this signature in database
GPG key ID: 7A85BDA4D57605C7

View file

@ -60,4 +60,10 @@ polkit.addRule(function(action, subject) {
if (action.id == "org.kde.kpmcore.externalcommand.init") {
return polkit.Result.YES;
}
});
polkit.addRule(function(action, subject) {
if (action.id == "org.freedesktop.udisks2.filesystem-mount-system") {
return polkit.Result.YES;
}
});" > /etc/polkit-1/rules.d/livegui-root-tools.rules