X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=hooks%2Flive;h=a940846e2557664a8cff732af6029cfcc8ecc9d6;hb=75340e130768563c2282806aaa3e80f5f7b97b32;hp=4e29226a9e01afd57c9507d3d0a4227e0b82d0ce;hpb=c32afe175f6bc3469b6ae4ac6cdb97d958f9a714;p=live-boot-grml.git diff --git a/hooks/live b/hooks/live index 4e29226..a940846 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) @@ -87,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