summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-10-18 17:59:54 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:48:06 +0100
commit5490c08c04dee41761188ea7a69d2236fb5b82b7 (patch)
treec06c67949e3c9221648307dc1d68328718dd4ca4
parent2b6c282a047dc10b0730dc508af5f57068b3def7 (diff)
downloadlive-boot-5490c08c04dee41761188ea7a69d2236fb5b82b7.tar.gz
live-boot-5490c08c04dee41761188ea7a69d2236fb5b82b7.zip
Simplyfing and correcting udev inclusion in initramfs hook.
-rwxr-xr-xhooks/live5
1 files 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