X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=hooks%2Flive;h=686240777e3e654569a2d2b391411448d4a582a9;hb=31c212144222bef8bc3b7bfa6d98149921eda4a9;hp=697efbfc86a7204f96e56181e188bc49731215a7;hpb=3a04d9fa79a90b70add81a1f1be9c07d975d7250;p=live-boot-grml.git diff --git a/hooks/live b/hooks/live index 697efbf..6862407 100755 --- a/hooks/live +++ b/hooks/live @@ -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,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 @@ -162,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