diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2016-12-17 14:01:06 +0000 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2016-12-19 20:29:02 +0000 |
commit | 7298f5261526384e4d95b267e502713494375dd5 (patch) | |
tree | 93579ddc855f0300b2b1c2ba712059d5b53297bf /draklive-install | |
parent | ca8e1afc4109667b7dbc951fc4ca0c3e5bb9a3ca (diff) | |
download | draklive-install-7298f5261526384e4d95b267e502713494375dd5.tar draklive-install-7298f5261526384e4d95b267e502713494375dd5.tar.gz draklive-install-7298f5261526384e4d95b267e502713494375dd5.tar.bz2 draklive-install-7298f5261526384e4d95b267e502713494375dd5.tar.xz draklive-install-7298f5261526384e4d95b267e502713494375dd5.zip |
Use polkit instead of consolehelper to gain root access.
Rather than spending lots of time figuring out why consolehelper no
longer works in GNOME.
Diffstat (limited to 'draklive-install')
-rwxr-xr-x | draklive-install | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/draklive-install b/draklive-install index 42ac2f1..1a941a5 100755 --- a/draklive-install +++ b/draklive-install @@ -343,6 +343,8 @@ sub clean_live_system_hds() { sub finish_installation { my ($fstab) = @_; + #- remove the extra authorisation 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); |