From 21bc9efbcc859640ab2c3cef20da4d772d2b2aad Mon Sep 17 00:00:00 2001 From: Serge Schneider Date: Mon, 2 Mar 2026 16:19:54 +0000 Subject: More qemu-user-static->qemu-user-binfmt changes --- build-docker.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'build-docker.sh') 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} && -- cgit v1.2.3