diff options
author | Gratian Crisan <gratian.crisan@ni.com> | 2014-07-21 11:53:45 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-07-23 21:59:13 +0100 |
commit | 67e1a5244dd86f89e06ad65d02686bb25c513380 (patch) | |
tree | 3042796f5a813b3a7394e0ae4261ad0f49636abc /meta | |
parent | c294bbe52002a70a4d2d027d1f39074b7d27eaef (diff) | |
download | poky-67e1a5244dd86f89e06ad65d02686bb25c513380.tar.gz |
busybox: mdev: Make /dev/shm world-writable
Otherwise, users cannot use named semaphores or shared memory.
(From OE-Core rev: a8f35be467836d8fa0bc8f8e85eba6f89a13f087)
Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
Signed-off-by: Ben Shelton <ben.shelton@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rwxr-xr-x | meta/recipes-core/busybox/files/mdev | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/busybox/files/mdev b/meta/recipes-core/busybox/files/mdev index 4eba6190c7..f7ed1f3d67 100755 --- a/meta/recipes-core/busybox/files/mdev +++ b/meta/recipes-core/busybox/files/mdev | |||
@@ -2,6 +2,7 @@ | |||
2 | 2 | ||
3 | mount -t tmpfs tmpfs /dev -o size=64k,mode=0755 | 3 | mount -t tmpfs tmpfs /dev -o size=64k,mode=0755 |
4 | mkdir /dev/pts /dev/shm | 4 | mkdir /dev/pts /dev/shm |
5 | chmod 777 /dev/shm | ||
5 | mount -t devpts devpts /dev/pts | 6 | mount -t devpts devpts /dev/pts |
6 | echo "/sbin/mdev" > /proc/sys/kernel/hotplug | 7 | echo "/sbin/mdev" > /proc/sys/kernel/hotplug |
7 | mdev -s | 8 | mdev -s |