X-Git-Url: http://git.grml.org/?a=blobdiff_plain;ds=sidebyside;f=hooks%2Flive;h=aa7b020ac9eb117f7972b7785d522b2f67c7791f;hb=97846cf1b1af2eae44d7c7d1e25ed6246a208a59;hp=697efbfc86a7204f96e56181e188bc49731215a7;hpb=3a04d9fa79a90b70add81a1f1be9c07d975d7250;p=live-boot-grml.git diff --git a/hooks/live b/hooks/live index 697efbf..aa7b020 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,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 @@ -162,6 +174,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