udev: create some files at post_install() to make it work.
--HG-- extra : convert_revision : cc1110c1893defa3d324012b313b5911cb2c427d
This commit is contained in:
parent
a22d0e1248
commit
955f9f3d74
1 changed files with 11 additions and 0 deletions
|
@ -31,4 +31,15 @@ post_install()
|
||||||
$destdir/usr/share/initramfs-tools/scripts/init-premount/udev
|
$destdir/usr/share/initramfs-tools/scripts/init-premount/udev
|
||||||
install -m 755 $XBPS_TEMPLATESDIR/udev/udev.initramfs-bottom \
|
install -m 755 $XBPS_TEMPLATESDIR/udev/udev.initramfs-bottom \
|
||||||
$destdir/usr/share/initramfs-tools/scripts/init-bottom/udev
|
$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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue