[OE-core] [PATCH 2/9] initramfs-framework: fix an error in udev module
Chen Qi
Qi.Chen at windriver.com
Mon Jun 16 10:46:24 UTC 2014
The /var/run directory needs to be there in order for udevd to work
correctly.
Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
---
.../initrdscripts/initramfs-framework/udev | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/recipes-core/initrdscripts/initramfs-framework/udev b/meta/recipes-core/initrdscripts/initramfs-framework/udev
index bb462dc..79c8867 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
--
1.7.9.5
More information about the Openembedded-core
mailing list