# 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."
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
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