summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorWills Wang <wills.wang@live.com>2015-12-03 13:52:12 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-08 10:20:53 +0000
commit7a775a1c46dd6f19bf5d4b0bdc8c9a20bc2bea50 (patch)
treece469b381cc137e64e35fe41c15dd2252a62c99e /meta/recipes-core
parent286139973b885056aed4bbea4ffc5927a8cccee8 (diff)
downloadpoky-7a775a1c46dd6f19bf5d4b0bdc8c9a20bc2bea50.tar.gz
initramfs-framework: create directory /var/run
The following error occurs when udevd startup: udevd[146]: bind failed: No such file or directory error binding udev control socket udevd[146]: error binding udev control socket (From OE-Core rev: 4db089f10a379bc9a4df287bd657153eb4b94c45) Signed-off-by: Wills Wang <wills.wang@live.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/initrdscripts/initramfs-framework/udev1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/initrdscripts/initramfs-framework/udev b/meta/recipes-core/initrdscripts/initramfs-framework/udev
index bb462dc448..79c8867823 100644
--- a/meta/recipes-core/initrdscripts/initramfs-framework/udev
+++ b/meta/recipes-core/initrdscripts/initramfs-framework/udev
@@ -38,6 +38,7 @@ udev_run() {
38 add_module_pre_hook "udev_shutdown_hook_handler" 38 add_module_pre_hook "udev_shutdown_hook_handler"
39 39
40 mkdir -p /run 40 mkdir -p /run
41 mkdir -p /var/run
41 42
42 $_UDEV_DAEMON --daemon 43 $_UDEV_DAEMON --daemon
43 udevadm trigger --action=add 44 udevadm trigger --action=add