osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/40939?usp=email )
Change subject: testenv: install curl backport only for bookworm ......................................................................
testenv: install curl backport only for bookworm
Change-Id: Ifeeea010fb13bfd65e1d3659a3c43fc4acf07795 --- M _testenv/data/podman/Dockerfile 1 file changed, 3 insertions(+), 0 deletions(-)
Approvals: Jenkins Builder: Verified pespin: Looks good to me, approved
diff --git a/_testenv/data/podman/Dockerfile b/_testenv/data/podman/Dockerfile index aa99337..961785b 100644 --- a/_testenv/data/podman/Dockerfile +++ b/_testenv/data/podman/Dockerfile @@ -99,6 +99,9 @@ # shipped with debian12 is buggy and generates wrong HTTP2 for open5gs. ENV BACKPORTS_SOURCES_LIST="/etc/apt/sources.list.d/debian-backports.sources" RUN set -x && \ + if ! grep -q VERSION_CODENAME=bookworm /etc/os-release; then \ + exit 0; \ + fi && \ echo "Types: deb deb-src" >>"$BACKPORTS_SOURCES_LIST" && \ echo "URIs: http://deb.debian.org/debian" >>"$BACKPORTS_SOURCES_LIST" && \ echo "Suites: bookworm-backports" >>"$BACKPORTS_SOURCES_LIST" && \