summaryrefslogtreecommitdiff
path: root/build-docker.sh
diff options
context:
space:
mode:
authorSerge Schneider <serge@raspberrypi.com>2025-05-13 07:41:10 +0100
committerSerge Schneider <serge@raspberrypi.com>2025-08-19 12:09:17 +0100
commitc2cd4e8a6231e0df6cecdc162aea09bf6e3f05c8 (patch)
tree626600212f93f5b8e2b99185d8e2b916e936544b /build-docker.sh
parent52ac7751ca7b289ebafe5b49f89d2538d0413a69 (diff)
bookworm -> trixie
Diffstat (limited to 'build-docker.sh')
-rwxr-xr-xbuild-docker.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/build-docker.sh b/build-docker.sh
index 0591c34..9c04651 100755
--- a/build-docker.sh
+++ b/build-docker.sh
@@ -85,10 +85,10 @@ BUILD_OPTS="$(echo "${BUILD_OPTS:-}" | sed -E 's@\-c\s?([^ ]+)@-c /config@')"
# Check the arch of the machine we're running on. If it's 64-bit, use a 32-bit base image instead
case "$(uname -m)" in
x86_64|aarch64)
- BASE_IMAGE=i386/debian:bookworm
+ BASE_IMAGE=i386/debian:trixie
;;
*)
- BASE_IMAGE=debian:bookworm
+ BASE_IMAGE=debian:trixie
;;
esac
${DOCKER} build --build-arg BASE_IMAGE=${BASE_IMAGE} -t pi-gen "${DIR}"
@@ -151,7 +151,7 @@ time ${DOCKER} run \
pi-gen \
bash -e -o pipefail -c "
dpkg-reconfigure qemu-user-static &&
- # binfmt_misc is sometimes not mounted with debian bookworm image
+ # 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} &&
rsync -av work/*/build.log deploy/