From 543606e5dc379497c34196d004a214e847f5db2d Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Mon, 12 Nov 2012 16:18:35 +0000 Subject: 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 Signed-off-by: Alexandru Damian Signed-off-by: Richard Purdie --- meta/recipes-core/initrdscripts/initramfs-framework/udev | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'meta/recipes-core/initrdscripts/initramfs-framework/udev') 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 -- cgit 1.2.3-korg