diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2011-05-02 19:09:16 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-10 09:57:08 +0100 |
commit | bcd7f1037305f2ce37c09769f2de3ddff4ca2f30 (patch) | |
tree | b576bf014833e751954af3f675eee69632f2dec0 /meta/recipes-core/busybox/files/mdev | |
parent | c533f60dfacb4cebce9fa9ec184b683167c2ef62 (diff) | |
download | poky-bcd7f1037305f2ce37c09769f2de3ddff4ca2f30.tar.gz |
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>
Diffstat (limited to 'meta/recipes-core/busybox/files/mdev')
-rwxr-xr-x | meta/recipes-core/busybox/files/mdev | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-core/busybox/files/mdev b/meta/recipes-core/busybox/files/mdev new file mode 100755 index 0000000000..4eba6190c7 --- /dev/null +++ b/meta/recipes-core/busybox/files/mdev | |||
@@ -0,0 +1,7 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | mount -t tmpfs tmpfs /dev -o size=64k,mode=0755 | ||
4 | mkdir /dev/pts /dev/shm | ||
5 | mount -t devpts devpts /dev/pts | ||
6 | echo "/sbin/mdev" > /proc/sys/kernel/hotplug | ||
7 | mdev -s | ||