X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=hooks%2Flive;h=686240777e3e654569a2d2b391411448d4a582a9;hb=088e23d8225c53f92bc12125d95a11e165869a9a;hp=b286f6ea5470260de81a9ab6390ac512fc15f09b;hpb=91ceaa9aef850754bbf35d00e2ca15e0d9513f98;p=live-boot-grml.git diff --git a/hooks/live b/hooks/live index b286f6e..6862407 100755 --- a/hooks/live +++ b/hooks/live @@ -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,11 @@ manual_add_modules ext4 # Filesystem: jffs2 manual_add_modules jffs2 +if [ -x /usr/bin/rsync ] +then + copy_exec /usr/bin/rsync /bin +fi + # Filesystem: squashfs copy_exec /sbin/losetup /sbin manual_add_modules loop @@ -171,6 +177,12 @@ then copy_exec /usr/bin/wget /bin fi +# Program: blockdev +if [ -x /sbin/blockdev ] +then + copy_exec /sbin/blockdev /sbin +fi + # FUSE kernel module manual_add_modules fuse