X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=backends%2Finitramfs-tools%2Flive.hook;h=7ead72590a2bb64754dda9ed87b20704f3cdffa6;hb=3cb6fa175301b22dba38a233582bfcc707f2822b;hp=4d01777b2afb7dcf85fe2c74477f005930e1ca6c;hpb=afd4fad6cfdbf24093d34f56c09fe98bca246d61;p=live-boot-grml.git diff --git a/backends/initramfs-tools/live.hook b/backends/initramfs-tools/live.hook index 4d01777..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,9 +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 - # klibc dependencies for FILE in /lib/libacl* /lib/libblkid* /lib/libuuid* /lib/libdevmapper* /lib/libattr* do @@ -185,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