initramfs-framework: fix udev working directory creation

Submitted by Michaël Burtin on Nov. 27, 2013, 4:58 p.m.

Details

Message ID 1385571539-3232-1-git-send-email-michael.burtin@innotis.org
State New
Headers show

Commit Message

Michaël Burtin Nov. 27, 2013, 4:58 p.m.
udev recipe defines udev_run=/var/run/udev in udev.conf, update udev
initramfs script to create /var/run directory before starting daemon.
---
 meta/recipes-core/initrdscripts/initramfs-framework/udev | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/meta/recipes-core/initrdscripts/initramfs-framework/udev b/meta/recipes-core/initrdscripts/initramfs-framework/udev
index bb462dc..5226511 100644
--- a/meta/recipes-core/initrdscripts/initramfs-framework/udev
+++ b/meta/recipes-core/initrdscripts/initramfs-framework/udev
@@ -37,7 +37,7 @@  udev_enabled() {
 udev_run() {
 	add_module_pre_hook "udev_shutdown_hook_handler"
 
-	mkdir -p /run
+	mkdir -p /var/run
 
 	$_UDEV_DAEMON --daemon
 	udevadm trigger --action=add