From b5d6121bbb1186a1c36a29091f82501d3af6888a Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Tue, 20 Dec 2011 14:01:21 +0000 Subject: udev: skip mounting /dev on tmpfs if it is on devtmpfs (From OE-Core rev: 08b2bb292ec9da38e399fe4fe00da5cc0ee0ea4c) Signed-off-by: Otavio Salvador Signed-off-by: Richard Purdie --- meta/recipes-core/udev/udev/init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/recipes-core/udev/udev/init') 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 echo -n "Starting udev" # mount the tmpfs on /dev, if not already done -LANG=C awk "\$2 == \"/dev\" && \$4 == \"tmpfs\" { exit 1 }" /proc/mounts && { +LANG=C awk '$2 == "/dev" && ($3 == "tmpfs" || $3 == "devtmpfs") { exit 1 }' /proc/mounts && { mount -n -o mode=0755 -t tmpfs none "/dev" mkdir -m 0755 /dev/pts mkdir -m 1777 /dev/shm -- cgit v1.2.3-54-g00ecf