1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-30 00:20:08 +00:00

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.

(From OE-Core rev: 543606e5dc379497c34196d004a214e847f5db2d)

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>
This commit is contained in:
Ross Burton
2012-11-12 16:18:35 +00:00
committed by Richard Purdie
parent 9cc79b2f4d
commit fe16cbc6ed
4 changed files with 9 additions and 5 deletions
@@ -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