mirror of
https://git.yoctoproject.org/poky
synced 2026-07-17 04:07:06 +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: 75f28875bcae2f91437d89d1ad97df29226e3303) 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:
committed by
Richard Purdie
parent
82295b9bbd
commit
0140519ba1
@@ -14,12 +14,14 @@ early_setup() {
|
||||
mkdir -p /sys
|
||||
mount -t proc proc /proc
|
||||
mount -t sysfs sysfs /sys
|
||||
mount -t devtmpfs none /dev
|
||||
|
||||
# support modular kernel
|
||||
modprobe isofs 2> /dev/null
|
||||
|
||||
mkdir -p /run
|
||||
udevd --daemon
|
||||
mkdir -p /var/run
|
||||
/lib/udev/udevd --daemon
|
||||
udevadm trigger --action=add
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user