Forwardporting and extending usage of rsync when booting with toram based on a patch...
[live-boot-grml.git] / hooks / live
index b286f6e..a940846 100755 (executable)
@@ -61,9 +61,10 @@ done
 # udev dependencies (squeeze and newer)
 for FILE in /lib/udev/*_id
 do
-       if [ ! -e "${DESTDIR}"/"${FILE}" ]
+       if [ ! -e "${DESTDIR}/${FILE}" ]
        then
-               copy_exec "${FILE}" /lib/udev/
+               mkdir -p "${DESTDIR}/lib/udev"
+               copy_exec "${FILE}" /lib/udev
        fi
 done
 
@@ -99,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