Unverified Commit 1dd3f879 by Christian Brauner Committed by GitHub

Merge pull request #2422 from monstermunchkin/fix/busybox-template

templates: Fix busybox template
parents 14406989 8b7681f3
...@@ -187,9 +187,7 @@ configure_busybox() ...@@ -187,9 +187,7 @@ configure_busybox()
# but that only works right in a chroot with busybox >= 1.19.0 # but that only works right in a chroot with busybox >= 1.19.0
( (
cd "${rootfs}/bin" || return 1 cd "${rootfs}/bin" || return 1
./busybox --help | grep 'Currently defined functions:' -A300 | \ ./busybox --list | grep -v busybox | xargs -n1 ln -s busybox
grep -v 'Currently defined functions:' | tr , '\n' | \
xargs -n1 ln -s busybox
) )
# relink /sbin/init # relink /sbin/init
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment