diff options
-rw-r--r-- | config/live.cfg | 3 | ||||
-rwxr-xr-x | files/WIP/draklive-install | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/config/live.cfg b/config/live.cfg index 25df37a..cc121b0 100644 --- a/config/live.cfg +++ b/config/live.cfg @@ -232,6 +232,9 @@ my $_l = { # remove pre-installed grub2, we need to be able to select grub2 vs grub2-efi at install time "rpm -e --nodeps grub2", + # allow draklive-install to spawn subtasks that access the display + "echo 'session optional pam_xauth.so # for draklive-install' >> /etc/pam.d/polkit-1", + # set the timestamp on the font directories to be a whole second # fc-cache looks at the nano second portion which may be non-zero # as we are on ext4, but then it will compare against the stamps diff --git a/files/WIP/draklive-install b/files/WIP/draklive-install index 42ac2f1..c831c5f 100755 --- a/files/WIP/draklive-install +++ b/files/WIP/draklive-install @@ -343,6 +343,8 @@ sub clean_live_system_hds() { sub finish_installation { my ($fstab) = @_; + #- remove the extra permission draklive added + run_program::rooted($::prefix, 'sed', '-i', '/for draklive-install/d', '/etc/pam.d/polkit-1'); sync_logs(); #- cleanly umount here, it will avoid fs journals to be corrupted after a hackish reboot umount_all($fstab); |