summaryrefslogtreecommitdiff
path: root/meta/recipes-core/initrdscripts
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:10 +0000
commit4db089f10a379bc9a4df287bd657153eb4b94c45 (patch)
treeb2f9206cb9eba3ffc9046c461775047bfa481171 /meta/recipes-core/initrdscripts
parentce3c1c0942d50953704d8d866f93a3d2d49c3091 (diff)
downloadopenembedded-core-4db089f10a379bc9a4df287bd657153eb4b94c45.tar.gz
openembedded-core-4db089f10a379bc9a4df287bd657153eb4b94c45.tar.bz2
openembedded-core-4db089f10a379bc9a4df287bd657153eb4b94c45.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 Signed-off-by: Wills Wang <wills.wang@live.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-core/initrdscripts')
-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