Adding upstream version 1.154.6.
[live-boot-grml.git] / hooks / live
index 190fac5..8a1be02 100755 (executable)
@@ -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,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
@@ -137,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