From 5490c08c04dee41761188ea7a69d2236fb5b82b7 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 18 Oct 2009 17:59:54 +0200 Subject: [PATCH] Simplyfing and correcting udev inclusion in initramfs hook. --- hooks/live | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hooks/live b/hooks/live index b286f6e..d78da1e 100755 --- a/hooks/live +++ b/hooks/live @@ -61,9 +61,10 @@ done # udev dependencies (squeeze and newer) for FILE in /lib/udev/*_id do - if [ ! -e "${DESTDIR}"/"${FILE}" ] + if [ ! -e "${DESTDIR}/${FILE}" ] then - copy_exec "${FILE}" /lib/udev/ + mkdir -p "${DESTDIR}/lib/udev" + copy_exec "${FILE}" /lib/udev fi done -- 2.1.4