diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2011-12-20 14:01:21 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-03 12:14:28 +0000 |
commit | b5d6121bbb1186a1c36a29091f82501d3af6888a (patch) | |
tree | 8f621bf260604c050cc84080db3349c110f95ee3 /meta | |
parent | d97d07c5ef0430753759449f2e2bd2ba1c0ff0f1 (diff) | |
download | poky-b5d6121bbb1186a1c36a29091f82501d3af6888a.tar.gz |
udev: skip mounting /dev on tmpfs if it is on devtmpfs
(From OE-Core rev: 08b2bb292ec9da38e399fe4fe00da5cc0ee0ea4c)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/udev/udev/init | 2 | ||||
-rw-r--r-- | meta/recipes-core/udev/udev_164.bb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-core/udev/udev/init b/meta/recipes-core/udev/udev/init index edc3c9a146..d0d7e5d0e3 100644 --- a/meta/recipes-core/udev/udev/init +++ b/meta/recipes-core/udev/udev/init | |||
@@ -28,7 +28,7 @@ export ACTION=add | |||
28 | echo -n "Starting udev" | 28 | echo -n "Starting udev" |
29 | 29 | ||
30 | # mount the tmpfs on /dev, if not already done | 30 | # mount the tmpfs on /dev, if not already done |
31 | LANG=C awk "\$2 == \"/dev\" && \$4 == \"tmpfs\" { exit 1 }" /proc/mounts && { | 31 | LANG=C awk '$2 == "/dev" && ($3 == "tmpfs" || $3 == "devtmpfs") { 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 1777 /dev/shm | 34 | mkdir -m 1777 /dev/shm |
diff --git a/meta/recipes-core/udev/udev_164.bb b/meta/recipes-core/udev/udev_164.bb index 3e4e402749..f952c907c1 100644 --- a/meta/recipes-core/udev/udev_164.bb +++ b/meta/recipes-core/udev/udev_164.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | include udev.inc | 1 | include udev.inc |
2 | 2 | ||
3 | PR = "r7" | 3 | PR = "r8" |
4 | 4 | ||
5 | SRC_URI += "file://udev-166-v4l1-1.patch" | 5 | SRC_URI += "file://udev-166-v4l1-1.patch" |
6 | 6 | ||