X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=hooks%2Flive;h=d78da1e04c91675a51245ee7b9236eaa9344d119;hb=0eeaf7a518d994987612779491282ea3c632810c;hp=32adfb6602c20316603daf7e9f02305447d097b2;hpb=9683c4f087985d070ef8b77bdc1e284b55134490;p=live-boot-grml.git diff --git a/hooks/live b/hooks/live index 32adfb6..d78da1e 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) @@ -148,7 +161,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 ]