Skip to content

Commit

Permalink
build-image-distrobuilder: Don't use backports on trixie
Browse files Browse the repository at this point in the history
Signed-off-by: Stéphane Graber <[email protected]>
  • Loading branch information
stgraber committed Dec 22, 2024
1 parent f90a456 commit 538a948
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions bin/build-image-distrobuilder
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 538a948

Please sign in to comment.