X-Git-Url: http://git.grml.org/?a=blobdiff_plain;ds=sidebyside;f=hooks%2Flive;h=8a1be0278b68c253d5c517b529da8a4dd14d3fc1;hb=c6e3f250dd26f951f32a34a18e7153a7a5d340a9;hp=9aeca4bd4945ef331ea8ebd0da2e2b42688e0af8;hpb=883234b7943f93dc33ee5f237c9183973a5090f4;p=live-boot-grml.git diff --git a/hooks/live b/hooks/live index 9aeca4b..8a1be02 100755 --- a/hooks/live +++ b/hooks/live @@ -103,6 +103,9 @@ manual_add_modules nls_iso8859-1 manual_add_modules nls_utf8 manual_add_modules vfat +# Filesystem: ntfs +manual_add_modules ntfs + # Hardware: cdrom manual_add_modules ide-cd manual_add_modules ide-generic @@ -125,11 +128,30 @@ 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 -copy_exec /sbin/udevadm /sbin -copy_exec /sbin/udevsettle /sbin +if [ -x /sbin/udevadm ] +then + # lenny + copy_exec /sbin/udevadm /sbin +else + # etch + copy_exec /sbin/udevtrigger /sbin + copy_exec /sbin/udevsettle /sbin +fi copy_exec /usr/bin/udevinfo /bin +# Program: wc +copy_exec /usr/bin/wc /bin + # Program: wget if [ -x /usr/bin/wget ] then