Skip to content

Commit

Permalink
kas-isar: Install reprepro from proposed-updates
Browse files Browse the repository at this point in the history
The reprepro tool in Debian has a critical bug, making it impossible to
work on zstd compressed .deb packages. As this is a host tool, and
Ubuntu uses zstd compression as default, this bug breaks building Ubuntu
targets in the kas-container.

A patched version of the tool is already available in
bookworm-proposed-updates and will be added in the next point release.
Until then, we take it from proposed-updates. Once upstream releases
Debian 12.8, this patch should be dropped again.

Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
  • Loading branch information
fmoessbauer authored and jan-kiszka committed Sep 6, 2024
1 parent 17283de commit ffa795c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ ARG CACHE_SHARING=locked
ENV LC_ALL=en_US.UTF-8
RUN --mount=type=cache,target=/var/cache/apt,sharing=${CACHE_SHARING} \
--mount=type=cache,target=/var/lib/apt,sharing=${CACHE_SHARING} \
sed -i '/bookworm-updates/ s/$/ bookworm-proposed-updates/' /etc/apt/sources.list.d/debian.sources && \
printf "Package: *\nPin: release a=proposed-updates\nPin-Priority: 100\n\n" > /etc/apt/preferences.d/proposed-updates && \
printf "Package: reprepro\nPin: release a=proposed-updates\nPin-Priority: 500\n" >> /etc/apt/preferences.d/proposed-updates && \
apt-get update && \
apt-get install -y -f --no-install-recommends \
binfmt-support bzip2 mmdebstrap arch-test apt-utils dosfstools \
Expand Down

0 comments on commit ffa795c

Please # to comment.