X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=hooks%2Flive;h=f2984f4ea1e53d9b48a0379c11cd4e1a0f6b15d5;hb=1736a26b70a1af93c290cfa9f4e7b593b7554d22;hp=dea7f0cbe10923818866decc0b23f4144c3a3a14;hpb=f62cc0eefdb0075075cbc46155ab91485a21a6fb;p=live-boot-grml.git diff --git a/hooks/live b/hooks/live index dea7f0c..f2984f4 100755 --- a/hooks/live +++ b/hooks/live @@ -128,6 +128,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