summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2014-05-21 03:51:31 -0400
committerChen Qi <Qi.Chen@windriver.com>2014-06-16 18:35:41 +0800
commit833f07c28e0b62532ff428f5f60f37d3ef34fa54 (patch)
treeac78f332f4696bd70dd6117f9ede4d9ed5555751
parenta05167c5bf0877dc40887e9040f3f386bf4b1263 (diff)
downloadopenembedded-core-contrib-833f07c28e0b62532ff428f5f60f37d3ef34fa54.tar.gz
openembedded-core-contrib-833f07c28e0b62532ff428f5f60f37d3ef34fa54.tar.bz2
openembedded-core-contrib-833f07c28e0b62532ff428f5f60f37d3ef34fa54.zip
initramfs-framework: fix an error in udev module
The /var/run directory needs to be there in order for udevd to work correctly. Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
-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