diff options
| -rw-r--r-- | meta/recipes-core/udev/udev/init | 7 | ||||
| -rw-r--r-- | meta/recipes-core/udev/udev_182.bb | 2 |
2 files changed, 6 insertions, 3 deletions
diff --git a/meta/recipes-core/udev/udev/init b/meta/recipes-core/udev/udev/init index 74449feaaa..1934d11e49 100644 --- a/meta/recipes-core/udev/udev/init +++ b/meta/recipes-core/udev/udev/init | |||
| @@ -37,10 +37,13 @@ export ACTION=add | |||
| 37 | echo "Starting udev" | 37 | echo "Starting udev" |
| 38 | 38 | ||
| 39 | # mount the tmpfs on /dev, if not already done | 39 | # mount the tmpfs on /dev, if not already done |
| 40 | mount -a -t tmpfs | 40 | LANG=C awk '$2 == "/dev" && ($3 == "tmpfs" || $3 == "devtmpfs") { exit 1 }' /proc/mounts && { |
| 41 | mkdir -p /var/volatile/run | 41 | mount -n -o mode=0755 -t tmpfs none "/dev" |
| 42 | } | ||
| 42 | [ -e /dev/pts ] || mkdir -m 0755 /dev/pts | 43 | [ -e /dev/pts ] || mkdir -m 0755 /dev/pts |
| 43 | [ -e /dev/shm ] || mkdir -m 1777 /dev/shm | 44 | [ -e /dev/shm ] || mkdir -m 1777 /dev/shm |
| 45 | mount -a -t tmpfs 2>/dev/null | ||
| 46 | mkdir -p /var/volatile/run | ||
| 44 | 47 | ||
| 45 | # cache handling | 48 | # cache handling |
| 46 | if [ "$DEVCACHE" != "" ]; then | 49 | if [ "$DEVCACHE" != "" ]; then |
diff --git a/meta/recipes-core/udev/udev_182.bb b/meta/recipes-core/udev/udev_182.bb index c41de9fef4..0ae9f8c6b6 100644 --- a/meta/recipes-core/udev/udev_182.bb +++ b/meta/recipes-core/udev/udev_182.bb | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | include udev.inc | 1 | include udev.inc |
| 2 | 2 | ||
| 3 | PR = "r2" | 3 | PR = "r3" |
| 4 | 4 | ||
| 5 | # module-init-tools from kmod_git will provide libkmod runtime | 5 | # module-init-tools from kmod_git will provide libkmod runtime |
| 6 | DEPENDS += "module-init-tools" | 6 | DEPENDS += "module-init-tools" |
