udev: add tmpfs fix from poky
authorKoen Kooi <koen@openembedded.org>
Wed, 24 Sep 2008 08:05:28 +0000 (08:05 +0000)
committerKoen Kooi <koen@openembedded.org>
Wed, 24 Sep 2008 08:05:28 +0000 (08:05 +0000)
packages/udev/udev-124/init
packages/udev/udev_124.bb

index 8d6e1ea..b78a07b 100644 (file)
@@ -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\" && \$3 == \"tmpfs\" { exit 1 }" /proc/mounts && {
+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
index ef880f6..e34da01 100644 (file)
@@ -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 = "r7"
+PR = "r8"
 
 SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
           file://noasmlinkage.patch;patch=1 \