summaryrefslogtreecommitdiff
path: root/build-docker.sh
diff options
context:
space:
mode:
authorSerge Schneider <serge@raspberrypi.com>2026-03-02 16:19:54 +0000
committerSerge Schneider <serge@raspberrypi.com>2026-03-02 16:19:54 +0000
commit21bc9efbcc859640ab2c3cef20da4d772d2b2aad (patch)
tree1f5744aa3efb92baaede80c30fa7e7fd6a4addf9 /build-docker.sh
parent2e8cf2536db734cc2a3b1ad2b7b0cd935761036b (diff)
More qemu-user-static->qemu-user-binfmt changes
Diffstat (limited to 'build-docker.sh')
-rwxr-xr-xbuild-docker.sh8
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} &&