diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-05-31 22:16:48 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-05-31 22:16:48 +0100 |
commit | 185d8b084a13f46b8c356dc785f49753ee107db7 (patch) | |
tree | 8df116460a8abecb91da6cdf139136832abde87d | |
parent | c5e3def0a02a8ca9270288d20107e57d3dda814f (diff) | |
download | poky-185d8b084a13f46b8c356dc785f49753ee107db7.tar.gz |
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/init | 2 | ||||
-rw-r--r-- | meta/packages/udev/udev_141.bb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/packages/udev/udev-141/init b/meta/packages/udev/udev-141/init index 0e1a9d96e6..f38a0aa36e 100644 --- a/meta/packages/udev/udev-141/init +++ b/meta/packages/udev/udev-141/init | |||
@@ -31,7 +31,7 @@ echo -n "Starting udev" | |||
31 | LANG=C awk "\$2 == \"/dev\" && \$4 == \"tmpfs\" { exit 1 }" /proc/mounts && { | 31 | LANG=C awk "\$2 == \"/dev\" && \$4 == \"tmpfs\" { exit 1 }" /proc/mounts && { |
32 | mount -n -o mode=0755 -t tmpfs none "/dev" | 32 | mount -n -o mode=0755 -t tmpfs none "/dev" |
33 | mkdir -m 0755 /dev/pts | 33 | mkdir -m 0755 /dev/pts |
34 | mkdir -m 0755 /dev/shm | 34 | mkdir -m 1777 /dev/shm |
35 | } | 35 | } |
36 | 36 | ||
37 | if [ -e /etc/dev.tar ]; then | 37 | if [ -e /etc/dev.tar ]; then |
diff --git a/meta/packages/udev/udev_141.bb b/meta/packages/udev/udev_141.bb index ab2bc34814..5476195ea2 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 | |||
3 | the hotplug package and requires a kernel not older than 2.6.12." | 3 | the hotplug package and requires a kernel not older than 2.6.12." |
4 | RPROVIDES_${PN} = "hotplug" | 4 | RPROVIDES_${PN} = "hotplug" |
5 | 5 | ||
6 | PR = "r3" | 6 | PR = "r4" |
7 | 7 | ||
8 | SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \ | 8 | SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \ |
9 | file://noasmlinkage.patch;patch=1 \ | 9 | file://noasmlinkage.patch;patch=1 \ |