summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Loibl <andreas@andreas-loibl.de>2012-02-26 16:50:43 +0100
committerAndreas Loibl <andreas@andreas-loibl.de>2012-02-26 16:50:43 +0100
commitb0365db86138a27c1b90714e8129b2a551267ff9 (patch)
tree884dee27a7ebc4d3111dd8bfee38f4687211b02e
parent1202db8054c48ca71a270cf29202481805d14d0f (diff)
downloadacritoxinstaller-b0365db86138a27c1b90714e8129b2a551267ff9.zip
acritoxinstaller-b0365db86138a27c1b90714e8129b2a551267ff9.tar.gz
remove live-only hooks on installation target
-rw-r--r--backend/modules/install_configure10
1 files changed, 10 insertions, 0 deletions
diff --git a/backend/modules/install_configure b/backend/modules/install_configure
index 00d55ae..68f60be 100644
--- a/backend/modules/install_configure
+++ b/backend/modules/install_configure
@@ -152,5 +152,15 @@ function configure_target_purge_live_only_stuff()
# remove kdm live shutdown hack
rm -f "$TARGET/home/$cfg_username/.kde/shutdown/kdm-force-shutdown-hack"
+
+ # remove live-only hooks
+ rm -vf $TARGET/usr/bin/isohybrid-bg2 \
+ $TARGET/usr/share/initramfs-tools/hooks/pcidetect \
+ $TARGET/usr/share/initramfs-tools/scripts/init-top/pcidetect \
+ $TARGET/usr/share/initramfs-tools/scripts/live-bottom/01gfxoverlay \
+ $TARGET/usr/share/initramfs-tools/scripts/live-bottom/02blacklist \
+ $TARGET/usr/share/initramfs-tools/scripts/live-bottom/03rpmfirmware
+ rm -rvf $TARGET/lib/live
+ rm -vf $TARGET/etc/profile.d/zz-live.sh
}