]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
initramfs-framework: fix an error in udev module
authorChen Qi <Qi.Chen@windriver.com>
Wed, 21 May 2014 07:51:31 +0000 (03:51 -0400)
committerChen Qi <Qi.Chen@windriver.com>
Mon, 16 Jun 2014 10:35:41 +0000 (18:35 +0800)
The /var/run directory needs to be there in order for udevd to work
correctly.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
meta/recipes-core/initrdscripts/initramfs-framework/udev

index bb462dc4488d98b58a01618be68c44d8db0ac4ad..79c886782364ecd1f178f39d7e6a92071afd3a96 100644 (file)
@@ -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