summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/initrdscripts/initramfs-framework/udev
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-12-13 15:21:41 +0000
commit0140519ba15bfb27ccbfb3d41c7e678a1118fc5c (patch)
tree750b20a70172c70d847ed88a8dd7de761cf51aeb /meta/recipes-core/initrdscripts/initramfs-framework/udev
parent82295b9bbd5dfd922786f815626863323f7f4ea4 (diff)
downloadpoky-0140519ba15bfb27ccbfb3d41c7e678a1118fc5c.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: 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>
Diffstat (limited to 'meta/recipes-core/initrdscripts/initramfs-framework/udev')
-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