Patchwork initramfs-framework: fix udev working directory creation

login
register
mail settings
Submitter Michaël Burtin
Date Nov. 27, 2013, 4:58 p.m.
Message ID <1385571539-3232-1-git-send-email-michael.burtin@innotis.org>
Download mbox | patch
Permalink /patch/62483/
State New
Headers show

Comments

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

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