diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2016-12-10 18:53:17 +0000 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2016-12-10 18:53:17 +0000 |
commit | 0177de8cb7f7d330f499beba8804f03cccecf57d (patch) | |
tree | 056a342f8ed749e10a4a6b8bc32b14b3a54f39d0 /config | |
parent | e66f6d3761ae1f971d80decc485748805c7d94c0 (diff) | |
download | draklive-config-0177de8cb7f7d330f499beba8804f03cccecf57d.tar draklive-config-0177de8cb7f7d330f499beba8804f03cccecf57d.tar.gz draklive-config-0177de8cb7f7d330f499beba8804f03cccecf57d.tar.bz2 draklive-config-0177de8cb7f7d330f499beba8804f03cccecf57d.tar.xz draklive-config-0177de8cb7f7d330f499beba8804f03cccecf57d.zip |
Allow subtasks spawned by draklive-install to access the display.
draklive-install spawns gurpmi to install the bootloader packages,
which needs this extra permission in the PAM configuration. Oddly,
this only seems to be necessary in GNOME, not in Plasma.
Diffstat (limited to 'config')
-rw-r--r-- | config/live.cfg | 3 |
1 files changed, 3 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 |