diff --git a/templates/udev/template b/templates/udev/template index cd28f88d2df..c489247abfa 100644 --- a/templates/udev/template +++ b/templates/udev/template @@ -31,4 +31,15 @@ post_install() $destdir/usr/share/initramfs-tools/scripts/init-premount/udev install -m 755 $XBPS_TEMPLATESDIR/udev/udev.initramfs-bottom \ $destdir/usr/share/initramfs-tools/scripts/init-bottom/udev + + install -d $destdir/lib/firmware + install -d $destdir/lib/udev/devices/pts + install -d $destdir/lib/udev/devices/shm + mknod -m0666 $destdir/lib/udev/devices/null c 1 3 + mknod -m0600 $destdir/lib/udev/devices/kmsg c 1 11 + ln -s /proc/self/fd $destdir/lib/udev/devices/fd + ln -s /proc/self/fd/0 $destdir/lib/udev/devices/stdin + ln -s /proc/self/fd/1 $destdir/lib/udev/devices/stdout + ln -s /proc/self/fd/2 $destdir/lib/udev/devices/stderr + ln -s /proc/kcore $destdir/lib/udev/devices/core }