diff options
Diffstat (limited to 'build-docker.sh')
| -rwxr-xr-x | build-docker.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/build-docker.sh b/build-docker.sh index 9c04651..14715d2 100755 --- a/build-docker.sh +++ b/build-docker.sh @@ -114,10 +114,10 @@ case $(uname -m) in ;; esac -# Check if qemu-arm-static and /proc/sys/fs/binfmt_misc are present +# Check if qemu-arm and /proc/sys/fs/binfmt_misc are present if [[ "${binfmt_misc_required}" == "1" ]]; then - if ! qemu_arm=$(which qemu-arm-static) ; then - echo "qemu-arm-static not found (please install qemu-user-static)" + if ! qemu_arm=$(which qemu-arm) ; then + echo "qemu-arm not found (please install qemu-user-binfmt)" exit 1 fi if [ ! -f /proc/sys/fs/binfmt_misc/register ]; then @@ -150,7 +150,7 @@ time ${DOCKER} run \ $DOCKER_CMDLINE_POST \ pi-gen \ bash -e -o pipefail -c " - dpkg-reconfigure qemu-user-static && + dpkg-reconfigure qemu-user-binfmt && # binfmt_misc is sometimes not mounted with debian trixie image (mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc || true) && cd /pi-gen; ./build.sh ${BUILD_OPTS} && |
