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 | |
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')
-rwxr-xr-x | meta/recipes-core/busybox/files/mdev | 7 | ||||
-rw-r--r-- | meta/recipes-core/busybox/files/mdev.conf | 35 |
2 files changed, 42 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 | ||
diff --git a/meta/recipes-core/busybox/files/mdev.conf b/meta/recipes-core/busybox/files/mdev.conf new file mode 100644 index 0000000000..0e1d6bc5e0 --- /dev/null +++ b/meta/recipes-core/busybox/files/mdev.conf | |||
@@ -0,0 +1,35 @@ | |||
1 | console 0:0 0600 | ||
2 | cpu_dma_latency 0:0 0660 | ||
3 | fb0:0 44 0660 | ||
4 | full 0:0 0666 | ||
5 | initctl 0:0 0600 | ||
6 | ircomm[0-9].* 0:20 0660 | ||
7 | kmem 0:15 0640 | ||
8 | kmsg 0:0 0660 | ||
9 | log 0:0 0666 | ||
10 | loop[0-9].* 0:6 0640 | ||
11 | mem 0:15 0640 | ||
12 | network_latency 0:0 0660 | ||
13 | network_throughput 0:0 0660 | ||
14 | null 0:0 0666 | ||
15 | port 0:15 0640 | ||
16 | ptmx 0:5 0666 | ||
17 | ram[0-9].* 0:6 0640 | ||
18 | random 0:0 0666 | ||
19 | sda 0:6 0640 | ||
20 | tty 0:5 0666 | ||
21 | tty.* 0:0 0620 | ||
22 | urandom 0:0 0666 | ||
23 | usbdev.* 0:0 0660 */etc/mdev/usb.sh | ||
24 | vcs.* 0:5 0660 | ||
25 | zero 0:0 0666 | ||
26 | |||
27 | pcm.* 0:0 0660 =snd/ | ||
28 | control.* 0:0 0660 =snd/ | ||
29 | timer 0:0 0660 =snd/ | ||
30 | |||
31 | event.* 0:0 0660 =input/ @/etc/mdev/find-touchscreen.sh | ||
32 | mice 0:0 0660 =input/ | ||
33 | mouse.* 0:0 0660 =input/ | ||
34 | |||
35 | tun[0-9]* 0:0 0660 =net/ | ||