livegui/fsscript: create required polkit rules dir

Signed-off-by: Ben Kohler <bkohler@gentoo.org>
This commit is contained in:
Ben Kohler 2023-03-06 07:17:47 -06:00
parent e0097a27a9
commit 65323a3ed6
No known key found for this signature in database
GPG key ID: 7A85BDA4D57605C7

View file

@ -71,6 +71,7 @@ popd
chown -R gentoo:users /home/gentoo
# Let some tools run as root
mkdir -p /etc/polkit-1/rules.d/
echo 'polkit.addRule(function(action, subject) {
if (action.id == "org.gnome.gparted") {
return polkit.Result.YES;