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>
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
}
# 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
udev_run() {
mkdir -p /run
- udevd --daemon > /dev/null
+ /lib/udev/udevd --daemon > /dev/null
udevadm trigger --action=add
udevadm settle
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
RDEPENDS = "busybox"
+PR = "r1"
+
inherit allarch
SRC_URI = "file://init \
DEPENDS = "virtual/kernel"
SRC_URI = "file://init-live.sh"
-PR = "r10"
+PR = "r11"
do_compile() {
#if grep -q "CONFIG_UNION_FS=y" ${STAGING_KERNEL_DIR}/.config; then