hooks/busybox/extract00.sh: run busybox from an absolute path

main
parent 7a062661e5
commit 8fe4fe3eda
Signed by untrusted user: josch
GPG Key ID: F2CBA5C78FBD83E1

@ -4,4 +4,7 @@ set -exu
rootdir="$1"
chroot "$rootdir" busybox --install -s
# Run busybox using an absolute path so that this script also works in case
# /proc is not mounted. Busybox uses /proc/self/exe to figure out the path
# to its executable.
chroot "$rootdir" /bin/busybox --install -s

Loading…
Cancel
Save