[Buildroot] [git commit branch/next] udev: use /dev if udev_root not defined in init.d script

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Jul 30 19:18:06 UTC 2012


commit: http://git.buildroot.net/buildroot/commit/?id=b08fd56ae82ad2d003512e6128ae60016d0186df
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/next

Signed-off-by: Jonathan Liu <net147 at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 package/udev/S10udev |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/package/udev/S10udev b/package/udev/S10udev
index 13dfdf5..7bb4309 100755
--- a/package/udev/S10udev
+++ b/package/udev/S10udev
@@ -27,7 +27,7 @@ test -r $UDEV_CONFIG || exit 6
 
 case "$1" in
     start)
-        echo -n "Populating $udev_root using udev: "
+        echo -n "Populating ${udev_root:-/dev} using udev: "
         echo -e '\000\000\000\000' > /proc/sys/kernel/hotplug
         $UDEV_BIN -d || (echo "FAIL" && exit 1)
         echo "done"


More information about the buildroot mailing list