From: Harald Hoyer Date: Thu, 19 May 2011 21:20:32 +0000 (+0200) Subject: busybox: install busybox to /usr/bin X-Git-Tag: 011~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a0b3ccf4e69c1429fc5db4121535d6ac4688751;p=thirdparty%2Fdracut.git busybox: install busybox to /usr/bin --- diff --git a/modules.d/05busybox/module-setup.sh b/modules.d/05busybox/module-setup.sh index 10afc98b0..5ef03ef64 100755 --- a/modules.d/05busybox/module-setup.sh +++ b/modules.d/05busybox/module-setup.sh @@ -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