X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=hooks%2Flive;h=8a1be0278b68c253d5c517b529da8a4dd14d3fc1;hb=refs%2Ftags%2Fdebian%2F1.154.6-1;hp=dea7f0cbe10923818866decc0b23f4144c3a3a14;hpb=679a1b40da130acb266a50f9541f25129c613a1f;p=live-boot-grml.git diff --git a/hooks/live b/hooks/live index dea7f0c..8a1be02 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 @@ -140,6 +149,9 @@ else fi copy_exec /usr/bin/udevinfo /bin +# Program: wc +copy_exec /usr/bin/wc /bin + # Program: wget if [ -x /usr/bin/wget ] then