summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2012-05-11 15:43:01 +0000
committerThomas Backlund <tmb@mageia.org>2012-05-11 15:43:01 +0000
commit3df45623659aeb21e42760cd5fd3dcfe128d619d (patch)
tree3861b543d058d27ff517b314a0c495134352ad58
parent8127b3b32cde3d2660f51cb6f5b04687ac27e34a (diff)
downloaddraklive-config-3df45623659aeb21e42760cd5fd3dcfe128d619d.tar
draklive-config-3df45623659aeb21e42760cd5fd3dcfe128d619d.tar.gz
draklive-config-3df45623659aeb21e42760cd5fd3dcfe128d619d.tar.bz2
draklive-config-3df45623659aeb21e42760cd5fd3dcfe128d619d.tar.xz
draklive-config-3df45623659aeb21e42760cd5fd3dcfe128d619d.zip
use no_install for live mode specific halt.local
-rw-r--r--config/live.cfg7
-rw-r--r--files/draklive-install.d/remove.d/livecd-halt-local2
2 files changed, 3 insertions, 6 deletions
diff --git a/config/live.cfg b/config/live.cfg
index 8b16689..ea8dc05 100644
--- a/config/live.cfg
+++ b/config/live.cfg
@@ -44,8 +44,8 @@ my $_l = {
[ 'files/defaultspooler', '/etc/foomatic/defaultspooler', { mode => 0644 } ],
if_($live->{settings}{media} eq 'CD',
#- eject eject cd medium before halt/reboot
- [ 'files/halt-local.service', '/etc/systemd/system/halt-local.service', { mode => 0644 } ],
- [ 'files/halt.local.CD', '/sbin/halt.local', { mode => 0755 } ],
+ [ 'files/halt-local.service', '/etc/systemd/system/halt-local.service', { mode => 0644, no_install => 1 } ],
+ [ 'files/halt.local.CD', '/sbin/halt.local', { mode => 0755, no_install => 1 } ],
#- do not load usblp and trigger autosetupprintqueues in live since cups is not available
[ 'files/live.modprobe.CD', '/etc/modprobe.d/live.conf', { mode => 0644, no_install => 1 } ],
),
@@ -55,8 +55,7 @@ my $_l = {
[ "files/finish-install.$live->{settings}{media}", '/etc/sysconfig/finish-install', { mode => 0644 } ],
#- disable speedboot for first boot after disk installation
[ 'files/draklive-install.d/remove.d/disable-speedboot', '/etc/draklive-install.d/remove.d/disable-speedboot', { mode => 0644 } ],
- # remove the livecd specific halt.local code
- [ 'files/draklive-install.d/remove.d/livecd-halt-local', '/etc/draklive-install.d/remove.d/livecd-halt-local', { mode => 0644 } ],
+
if_($live->{settings}{desktop} eq 'KDE4',
[ 'files/draklive-install.d/run.d/generate-gtk-icon-cache.sh', '/etc/draklive-install.d/run.d/generate-gtk-icon-cache.sh', { mode => 755 } ]),
#- sysconfig files for first boot
diff --git a/files/draklive-install.d/remove.d/livecd-halt-local b/files/draklive-install.d/remove.d/livecd-halt-local
deleted file mode 100644
index 323ed6f..0000000
--- a/files/draklive-install.d/remove.d/livecd-halt-local
+++ /dev/null
@@ -1,2 +0,0 @@
-/etc/systemd/system/halt-local.service
-/sbin/halt.local