All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] initramfs: udevd can be located in /sbin
@ 2013-02-12 13:23 Jukka Rissanen
  0 siblings, 0 replies; only message in thread
From: Jukka Rissanen @ 2013-02-12 13:23 UTC (permalink / raw)
  To: yocto

Do not hard code the udevd path.

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
---
 meta/recipes-core/initrdscripts/files/init-live.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-core/initrdscripts/files/init-live.sh b/meta/recipes-core/initrdscripts/files/init-live.sh
index 0ae359d..0524737 100644
--- a/meta/recipes-core/initrdscripts/files/init-live.sh
+++ b/meta/recipes-core/initrdscripts/files/init-live.sh
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-PATH=/sbin:/bin:/usr/sbin:/usr/bin
+PATH=/sbin:/bin:/usr/sbin:/usr/bin:/lib/udev
 
 ROOT_MOUNT="/rootfs/"
 ROOT_IMAGE="rootfs.img"
@@ -21,7 +21,7 @@ early_setup() {
 
     mkdir -p /run
     mkdir -p /var/run
-    /lib/udev/udevd --daemon
+    udevd --daemon
     udevadm trigger --action=add
 }
 
-- 
1.7.11.4



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-02-12 13:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-12 13:23 [PATCH] initramfs: udevd can be located in /sbin Jukka Rissanen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.