From 538a948bc4a69d3a7f4d97d06b08c77e3a452bee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Graber?= Date: Mon, 23 Dec 2024 00:58:04 +0100 Subject: [PATCH] build-image-distrobuilder: Don't use backports on trixie MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Graber --- bin/build-image-distrobuilder | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/bin/build-image-distrobuilder b/bin/build-image-distrobuilder index 3edc1f57..64fb275e 100755 --- a/bin/build-image-distrobuilder +++ b/bin/build-image-distrobuilder @@ -100,8 +100,12 @@ apt-get install --yes --no-install-recommends \ unzip \ xz-utils \ zstd -apt-get install --yes --no-install-recommends -t ${DISTRO}-backports \ - debootstrap +if [ "${DISTRO}" = "bookworm" ]; then + apt-get install --yes --no-install-recommends -t ${DISTRO}-backports \ + debootstrap +else + apt-get install --yes --no-install-recommends debootstrap +fi apt-get clean # Install distrobuilder