mirror of
https://git.yoctoproject.org/poky
synced 2026-09-13 00:49:33 +02:00
busybox: add support to mdev
This changes the packaging only if the configuration used has mdev support enabled. (From OE-Core rev: 82b163043aa53488a03bb3de3a78e5b6eeb76019) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
c533f60dfa
commit
bcd7f10373
7
meta/recipes-core/busybox/files/mdev
Executable file
7
meta/recipes-core/busybox/files/mdev
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
mount -t tmpfs tmpfs /dev -o size=64k,mode=0755
|
||||
mkdir /dev/pts /dev/shm
|
||||
mount -t devpts devpts /dev/pts
|
||||
echo "/sbin/mdev" > /proc/sys/kernel/hotplug
|
||||
mdev -s
|
||||
Reference in New Issue
Block a user