X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=hooks%2Flive;h=32adfb6602c20316603daf7e9f02305447d097b2;hb=4fc648acc4e010fe0c3046baeb26ec1334c16e27;hp=dea7f0cbe10923818866decc0b23f4144c3a3a14;hpb=679a1b40da130acb266a50f9541f25129c613a1f;p=live-boot-grml.git diff --git a/hooks/live b/hooks/live index dea7f0c..32adfb6 100755 --- a/hooks/live +++ b/hooks/live @@ -80,8 +80,9 @@ then manual_add_modules cifs fi -# Filesystem: ext3 +# Filesystem: ext3/ext4 manual_add_modules ext3 +manual_add_modules ext4 # Filesystem: jffs2 manual_add_modules jffs2 @@ -128,6 +129,15 @@ fi # Program: md5sum copy_exec /usr/bin/md5sum /bin +# 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