From f740ecb1f5cec298aa05b8c946e3d06a1d446395 Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Thu, 8 Dec 2016 18:41:57 +0000 Subject: (temporary) Convert draklive-install to use polkit, not consolehelper. Taken from tmb's WIP. The old method of using consolehelper was failing authentication in GNOME. Temporarily added here to get the sta2 ISOs built. Revert this when the changes get pushed to draklive-install. --- config/live.cfg | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'config/live.cfg') diff --git a/config/live.cfg b/config/live.cfg index 8900d26..c5ed814 100644 --- a/config/live.cfg +++ b/config/live.cfg @@ -101,6 +101,13 @@ my $_l = { (map { [ 'files/draksnapshot.sysconfig', $_ . '/.draksnapshot', { mode => 0644, no_install => 1 } ] } @user_config_dirs), [ 'files/compute-ooo-dicts.pl', '/usr/sbin/compute-ooo-dicts.pl', { mode => 0755 } ], [ 'files/compute-i18n-list.pl', '/usr/sbin/compute-i18n-list.pl', { mode => 0755 } ], + + # Changes to draklive-install - remove once these are pushed + [ 'files/WIP/draklive-install', '/usr/sbin/draklive-install', { mode => 0755 } ], + [ 'files/WIP/draklive-install.wrapper', '/usr/bin/draklive-install', { mode => 0755 } ], + [ 'files/WIP/mageia-draklive-install.desktop', '/usr/share/applications/mageia-draklive-install.desktop', { mode => 0644 } ], + [ 'files/WIP/org.mageia.draklive-install.policy', '/usr/share/polkit-1/actions/org.mageia.draklive-install.policy', { mode => 0644, no_install => 1 } ], + [ 'files/WIP/org.mageia.draklive-install-lock-storage.policy', '/usr/share/polkit-1/actions/org.mageia.draklive-install-lock-storage.policy', { mode => 0644, no_install => 1 } ], ], remove_files => [ (map { "/etc/modprobe.preload.d/$_" } qw(cpufreq pcmcia rfswitch)), -- cgit v1.2.1