summaryrefslogtreecommitdiff
path: root/mkinitramfs
diff options
context:
space:
mode:
Diffstat (limited to 'mkinitramfs')
-rwxr-xr-xmkinitramfs5
1 files changed, 4 insertions, 1 deletions
diff --git a/mkinitramfs b/mkinitramfs
index 612f2d7..505d480 100755
--- a/mkinitramfs
+++ b/mkinitramfs
@@ -173,7 +173,10 @@ cp -a /etc/udev "${DESTDIR}/etc"
# Hack until udev is built with klibc
copy_exec /sbin/udevd /sbin
-copy_exec /sbin/udevsynthesize /sbin
+mkdir "${DESTDIR}/lib/udev"
+copy_exec /lib/udev/udevsynthesize /lib/udev
+cp /sbin/udevsynthesize "${DESTDIR}/sbin"
+cp /lib/udev/udev_* "${DESTDIR}/lib/udev"
# Busybox
rm ${DESTDIR}/bin/sh