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

This commit is contained in:
Johannes Schauer Marin Rodrigues 2021-10-08 20:46:55 +02:00
parent 7a062661e5
commit 8fe4fe3eda
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -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