X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=hooks%2Flive;h=aa7b020ac9eb117f7972b7785d522b2f67c7791f;hb=97846cf1b1af2eae44d7c7d1e25ed6246a208a59;hp=f2984f4ea1e53d9b48a0379c11cd4e1a0f6b15d5;hpb=9b19c07abc9084a245b3f242b8928807e8650ff4;p=live-boot-grml.git diff --git a/hooks/live b/hooks/live index f2984f4..aa7b020 100755 --- a/hooks/live +++ b/hooks/live @@ -35,6 +35,9 @@ then cp /etc/live.conf "${DESTDIR}"/etc fi +mkdir -p "${DESTDIR}"/usr/share/live-initramfs +cp /usr/share/live-initramfs/languagelist "${DESTDIR}"/usr/share/live-initramfs + # Directories mkdir -p "${DESTDIR}"/lib/live-initramfs @@ -55,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) @@ -80,12 +93,15 @@ then manual_add_modules cifs fi -# Filesystem: ext3 +# Filesystem: ext3/ext4 manual_add_modules ext3 +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 @@ -147,7 +163,10 @@ else copy_exec /sbin/udevtrigger /sbin copy_exec /sbin/udevsettle /sbin fi -copy_exec /usr/bin/udevinfo /bin +if [ -x /usr/bin/udevinfo ] +then + copy_exec /usr/bin/udevinfo /bin +fi # Program: wget if [ -x /usr/bin/wget ] @@ -155,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