5 require_binaries busybox ||
return 1
17 local _i _progs _path _busybox
18 _busybox
=$
(type -P busybox
)
19 inst
$_busybox /usr
/bin
/busybox
20 for _i
in $
($_busybox |
sed -ne '1,/Currently/!{s/,//g; s/busybox//g; p}')
25 # FIXME: switch_root should be in the above list, but busybox version hangs
26 # (using busybox-1.15.1-7.fc14.i686 at the time of writing)
29 _path
=$
(find_binary
"$_i")
30 [ -z "$_path" ] && continue
31 ln_r
/usr
/bin
/busybox
$_path