forked from josch/mmdebstrap
hooks/busybox/extract00.sh: run busybox from an absolute path
This commit is contained in:
parent
7a062661e5
commit
8fe4fe3eda
1 changed files with 4 additions and 1 deletions
|
@ -4,4 +4,7 @@ set -exu
|
||||||
|
|
||||||
rootdir="$1"
|
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…
Reference in a new issue