summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/initrdscripts/initramfs-framework
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:31:20 +0000
commitfe16cbc6ed42c8764ac25417b72668d55f573e86 (patch)
treeaceda4c2207093271cdcf122334138e69b94ff1e /meta/recipes-core/initrdscripts/initramfs-framework
parent9cc79b2f4daa64dbf3ad92980800101909521f57 (diff)
downloadpoky-fe16cbc6ed42c8764ac25417b72668d55f573e86.tar.gz
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>
Diffstat (limited to 'meta/recipes-core/initrdscripts/initramfs-framework')
-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 @@
3# Licensed on MIT 3# Licensed on MIT
4 4
5udev_enabled() { 5udev_enabled() {
6 if [ ! -e /sbin/udevd ]; then 6 if [ ! -e /lib/udev/udevd ]; then
7 debug "/sbin/udev doesn't exist" 7 debug "/lib/udev/udev doesn't exist"
8 return 1 8 return 1
9 fi 9 fi
10 10
@@ -14,7 +14,7 @@ udev_enabled() {
14udev_run() { 14udev_run() {
15 mkdir -p /run 15 mkdir -p /run
16 16
17 udevd --daemon > /dev/null 17 /lib/udev/udevd --daemon > /dev/null
18 udevadm trigger --action=add 18 udevadm trigger --action=add
19 udevadm settle 19 udevadm settle
20 20