Forwardporting and extending usage of rsync when booting with toram based on a patch...
[live-boot-grml.git] / hooks / live
index 697efbf..a940846 100755 (executable)
@@ -58,6 +58,16 @@ do
        fi
 done
 
+# udev dependencies (squeeze and newer)
+for FILE in /lib/udev/*_id
+do
+       if [ ! -e "${DESTDIR}/${FILE}" ]
+       then
+               mkdir -p "${DESTDIR}/lib/udev"
+               copy_exec "${FILE}" /lib/udev
+       fi
+done
+
 # Handling other stuff
 
 # Configuration: keymap (usefull when using encryption)
@@ -90,6 +100,8 @@ manual_add_modules ext4
 # Filesystem: jffs2
 manual_add_modules jffs2
 
+copy_exec /usr/bin/rsync /bin
+
 # Filesystem: squashfs
 copy_exec /sbin/losetup /sbin
 manual_add_modules loop