]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
busybox: install busybox to /usr/bin
authorHarald Hoyer <harald@redhat.com>
Thu, 19 May 2011 21:20:32 +0000 (23:20 +0200)
committerHarald Hoyer <harald@redhat.com>
Fri, 20 May 2011 13:17:31 +0000 (15:17 +0200)
modules.d/05busybox/module-setup.sh

index 10afc98b064c7b8719219c3bfcbb0a79790acf40..5ef03ef643ee036fc71be3488330ec829356a3df 100755 (executable)
@@ -14,7 +14,7 @@ depends() {
 
 install() {
     local _i _progs _path
-    inst busybox /sbin/busybox
+    inst busybox /usr/bin/busybox
 
     # List of shell programs that we use in other official dracut modules, that
     # must be supported by the busybox installed on the host system
@@ -26,9 +26,9 @@ install() {
     for _i in $_progs; do
        _path=$(find_binary "$_i")
         if [[ $_path != ${_path#/usr} ]]; then
-           ln -s ../../sbin/busybox "$initdir/$_path"
+           ln -s ../../usr/bin/busybox "$initdir/$_path"
         else
-            ln -s ../sbin/busybox "$initdir/$_path"
+            ln -s ../usr/bin/busybox "$initdir/$_path"
         fi
     done