- # Populate nodes
- mknod -m 600 $PKG/lib/udev/devices/console c 5 1
- mknod -m 666 $PKG/lib/udev/devices/null c 1 3
- mknod -m 666 $PKG/lib/udev/devices/zero c 1 5
- ln -s /proc/self/fd $PKG/lib/udev/devices/fd
- ln -s /proc/self/fd/0 $PKG/lib/udev/devices/stdin
- ln -s /proc/self/fd/1 $PKG/lib/udev/devices/stdout
- ln -s /proc/self/fd/2 $PKG/lib/udev/devices/stderr
- ln -s /proc/kcore $PKG/lib/udev/devices/core
-
- # Install some upstream rules
- cp -a rules/packages/40-alsa.rules $PKG/lib/udev/rules.d/