diff --git a/hooks/busybox/extract00.sh b/hooks/busybox/extract00.sh index d7c0e03..8c16e9d 100755 --- a/hooks/busybox/extract00.sh +++ b/hooks/busybox/extract00.sh @@ -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