summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorGratian Crisan <gratian.crisan@ni.com>2014-07-21 11:53:45 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-23 21:59:13 +0100
commit67e1a5244dd86f89e06ad65d02686bb25c513380 (patch)
tree3042796f5a813b3a7394e0ae4261ad0f49636abc /meta
parentc294bbe52002a70a4d2d027d1f39074b7d27eaef (diff)
downloadpoky-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-xmeta/recipes-core/busybox/files/mdev1
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
3mount -t tmpfs tmpfs /dev -o size=64k,mode=0755 3mount -t tmpfs tmpfs /dev -o size=64k,mode=0755
4mkdir /dev/pts /dev/shm 4mkdir /dev/pts /dev/shm
5chmod 777 /dev/shm
5mount -t devpts devpts /dev/pts 6mount -t devpts devpts /dev/pts
6echo "/sbin/mdev" > /proc/sys/kernel/hotplug 7echo "/sbin/mdev" > /proc/sys/kernel/hotplug
7mdev -s 8mdev -s