aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/initrdscripts/initramfs-framework/udev
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2012-11-12 16:18:35 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-11-12 22:30:19 +0000
commit543606e5dc379497c34196d004a214e847f5db2d (patch)
tree4953d3562739abffb255010c62f72f3e71fbf59f /meta/recipes-core/initrdscripts/initramfs-framework/udev
parent713e1c82d32a477be84951d1dba8326b0342c8ca (diff)
downloadopenembedded-core-contrib-543606e5dc379497c34196d004a214e847f5db2d.tar.gz
openembedded-core-contrib-543606e5dc379497c34196d004a214e847f5db2d.tar.bz2
openembedded-core-contrib-543606e5dc379497c34196d004a214e847f5db2d.zip
initrdscripts: fix udevd in the live boot init scripts
udevd moved location and isn't in $PATH anymore, so use an absolute path to start it. The control socket path moved too, so mkdir the directory it's in. Mounts the new devtmpfs on /dev device tree. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Alexandru Damian <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/initrdscripts/initramfs-framework/udev')
-rw-r--r--meta/recipes-core/initrdscripts/initramfs-framework/udev6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-core/initrdscripts/initramfs-framework/udev b/meta/recipes-core/initrdscripts/initramfs-framework/udev
index 9ea8aa3641..15a1d5ba06 100644
--- a/meta/recipes-core/initrdscripts/initramfs-framework/udev
+++ b/meta/recipes-core/initrdscripts/initramfs-framework/udev
@@ -3,8 +3,8 @@
# Licensed on MIT
udev_enabled() {
- if [ ! -e /sbin/udevd ]; then
- debug "/sbin/udev doesn't exist"
+ if [ ! -e /lib/udev/udevd ]; then
+ debug "/lib/udev/udev doesn't exist"
return 1
fi
@@ -14,7 +14,7 @@ udev_enabled() {
udev_run() {
mkdir -p /run
- udevd --daemon > /dev/null
+ /lib/udev/udevd --daemon > /dev/null
udevadm trigger --action=add
udevadm settle