summaryrefslogtreecommitdiffstats
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
parent286139973b885056aed4bbea4ffc5927a8cccee8 (diff)
downloadpoky-7a775a1c46dd6f19bf5d4b0bdc8c9a20bc2bea50.tar.gz
poky-7a775a1c46dd6f19bf5d4b0bdc8c9a20bc2bea50.tar.bz2
poky-7a775a1c46dd6f19bf5d4b0bdc8c9a20bc2bea50.zip
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>
-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() {
add_module_pre_hook "udev_shutdown_hook_handler"
mkdir -p /run
+ mkdir -p /var/run
$_UDEV_DAEMON --daemon
udevadm trigger --action=add