summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-05-31 22:16:48 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-05-31 22:16:48 +0100
commit185d8b084a13f46b8c356dc785f49753ee107db7 (patch)
tree8df116460a8abecb91da6cdf139136832abde87d
parentc5e3def0a02a8ca9270288d20107e57d3dda814f (diff)
downloadopenembedded-core-185d8b084a13f46b8c356dc785f49753ee107db7.tar.gz
openembedded-core-185d8b084a13f46b8c356dc785f49753ee107db7.tar.bz2
openembedded-core-185d8b084a13f46b8c356dc785f49753ee107db7.tar.xz
openembedded-core-185d8b084a13f46b8c356dc785f49753ee107db7.zip
udev: Allow standard users to access shared memory
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r--meta/packages/udev/udev-141/init2
-rw-r--r--meta/packages/udev/udev_141.bb2
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/packages/udev/udev-141/init b/meta/packages/udev/udev-141/init
index 0e1a9d96e..f38a0aa36 100644
--- a/meta/packages/udev/udev-141/init
+++ b/meta/packages/udev/udev-141/init
@@ -31,7 +31,7 @@ echo -n "Starting udev"
LANG=C awk "\$2 == \"/dev\" && \$4 == \"tmpfs\" { exit 1 }" /proc/mounts && {
mount -n -o mode=0755 -t tmpfs none "/dev"
mkdir -m 0755 /dev/pts
- mkdir -m 0755 /dev/shm
+ mkdir -m 1777 /dev/shm
}
if [ -e /etc/dev.tar ]; then
diff --git a/meta/packages/udev/udev_141.bb b/meta/packages/udev/udev_141.bb
index ab2bc3481..5476195ea 100644
--- a/meta/packages/udev/udev_141.bb
+++ b/meta/packages/udev/udev_141.bb
@@ -3,7 +3,7 @@ DESCRIPTION = "udev is a daemon which dynamically creates and removes device nod
the hotplug package and requires a kernel not older than 2.6.12."
RPROVIDES_${PN} = "hotplug"
-PR = "r3"
+PR = "r4"
SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
file://noasmlinkage.patch;patch=1 \