X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=backends%2Finitramfs-tools%2Flive.hook;h=7ead72590a2bb64754dda9ed87b20704f3cdffa6;hb=4385a21d9fa2a82d06164d83c1b29b9066be79eb;hp=5fc01ec720883b88c880d5d4afee1e81b3afb5cb;hpb=4bd662d6947608f3a92416b599e2286718f16c61;p=live-boot-grml.git diff --git a/backends/initramfs-tools/live.hook b/backends/initramfs-tools/live.hook index 5fc01ec..7ead725 100755 --- a/backends/initramfs-tools/live.hook +++ b/backends/initramfs-tools/live.hook @@ -42,7 +42,7 @@ fi # Handling live-boot -if [ ! -e /usr/share/live-boot ] +if [ ! -e /lib/live/boot ] then echo "W: live-boot-initramfs-tools (backend) installed without live-boot," echo "W: this initramfs will *NOT* have live support." @@ -54,13 +54,6 @@ fi mkdir -p "${DESTDIR}/lib/live" cp -a /lib/live/boot.sh /lib/live/boot "${DESTDIR}/lib/live" -# Directories -mkdir -p "${DESTDIR}"/lib/live-boot - -# Executables -copy_exec /usr/share/live-boot/live-reconfigure /bin -copy_exec /usr/share/live-boot/live-preseed /bin - # klibc dependencies for FILE in /lib/libacl* /lib/libblkid* /lib/libuuid* /lib/libdevmapper* /lib/libattr* do @@ -189,15 +182,6 @@ then manual_add_modules mtdblock fi -# Program: cpio -# busybox and klibc lacks --no-absolute-filenames and --sparse, needed for snapshots -if [ -e "${DESTDIR}/bin/cpio" ] -then - # Override already present cpio's, mostly klibc's - rm "${DESTDIR}/bin/cpio" -fi -copy_exec /bin/cpio /bin - # Program: udev if [ -x /sbin/udevadm ] then