[neon/infrastructure/pangea-data] imager/config-hooks-neon: put it in the chroot

Carlos De Maine null at kde.org
Fri Sep 27 13:49:14 BST 2024


Git commit e6069450e459989cce33e3d05002078f585f1044 by Carlos De Maine.
Committed on 27/09/2024 at 12:49.
Pushed by carlosdem into branch 'master'.

put it in the chroot

M  +3    -3    imager/config-hooks-neon/polkit.hack.sh

https://invent.kde.org/neon/infrastructure/pangea-data/-/commit/e6069450e459989cce33e3d05002078f585f1044

diff --git a/imager/config-hooks-neon/polkit.hack.sh b/imager/config-hooks-neon/polkit.hack.sh
index a46d013..59030cf 100644
--- a/imager/config-hooks-neon/polkit.hack.sh
+++ b/imager/config-hooks-neon/polkit.hack.sh
@@ -19,13 +19,13 @@ prereqs)
        ;;
 esac
 
-. /scripts/casper-functions
+#. /scripts/casper-functions
 
 log_begin_msg "$DESCRIPTION"
 
 # configure PolicyKit in live session
-mkdir -p /root/var/lib/polkit-1/localauthority/10-vendor.d
-cat << EOF > /root/var/lib/polkit-1/localauthority/10-vendor.d/10-live-cd.pkla
+mkdir -p /chroot/var/lib/polkit-1/localauthority/10-vendor.d
+cat << EOF > /chroot/var/lib/polkit-1/localauthority/10-vendor.d/10-live-cd.pkla
 # Policy to allow the livecd user to bypass policykit
 [Live CD user permissions]
 Identity=unix-user:$USERNAME;unix-user:sddm


More information about the Neon-commits mailing list