osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ci/+/43533?usp=email )
Change subject: data/build_binpkg: fix debian11 (EOL) ......................................................................
data/build_binpkg: fix debian11 (EOL)
Change-Id: I16f66b34dde8271355bb415214c124d918fc4512 --- M scripts/obs/data/build_binpkg.Dockerfile 1 file changed, 14 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/33/43533/1
diff --git a/scripts/obs/data/build_binpkg.Dockerfile b/scripts/obs/data/build_binpkg.Dockerfile index fb3df72..b37904d 100644 --- a/scripts/obs/data/build_binpkg.Dockerfile +++ b/scripts/obs/data/build_binpkg.Dockerfile @@ -12,6 +12,20 @@ fi && \ useradd --uid=${UID} -m user
+# As of writing, the debian 11 security repository is not available on +# archive.debian.org while at the same time the non-archived version is broken. +# Build packages without the security repository during the gerrit binary +# package verification jobs. (The official binary packages are not built with +# this, they are built in OBS instead.) +RUN case "$DISTRO" in \ + debian:11) \ + ( echo "deb http://archive.debian.org/debian bullseye main"; \ + echo "deb http://snapshot.debian.org/archive/debian-security/20250625T172521Z bullseye-security main"; \ + echo "deb http://archive.debian.org/debian bullseye-updates main"; \ + ) > /etc/apt/sources.list \ + ;; \ + esac + # Only install build-essential here, and what's needed to add the Osmocom # repository. Everything else must be defined as dependency in the package # build recipe. For rpm-based distributions, there is no build-essential or