Skip to content
Success

Changes

Summary

  1. testenv: use separate cache dirs per distro (details)
  2. testenv: init podman: add --distro arg (details)
  3. testenv: debian 13: fix installing libgcc (details)
  4. testenv: debian 13: fix installing eclipse-titan (details)
  5. testenv: check for --distro without --podman (details)
  6. testenv: check value of --distro early (details)
  7. testenv: add debian:trixie (details)
  8. testenv: enable_binary_repo: configure apt pin (details)
  9. testenv: set default distro to debian:trixie (details)
Commit 2152d5127e0a21e29fb4caab4e8f49c78d6a75b0 by Oliver Smith
testenv: use separate cache dirs per distro

Change-Id: I0f1c05bb4d8cfababc24477976abf8a0baa3daba
The file was modified_testenv/testenv/testsuite.py
The file was modified_testenv/testenv/cmd.py
The file was modified_testenv/testenv/podman.py
Commit 48331bb5c5dc7e6f273d87bcfcdef92a520ec386 by Oliver Smith
testenv: init podman: add --distro arg

Allow building the podman image for another distribution. This was
mostly implemented already, but due to the missing --distro argument for
"./testenv.py init podman" it could not be used yet.

Change-Id: Iff59b5d403e88046a3f98438394e1e02a36e7c0a
The file was modified_testenv/testenv/__init__.py
Commit fbef26faf0650c966fd020cbf74bb4dfff711679 by Oliver Smith
testenv: debian 13: fix installing libgcc

Use a wildcard to install the proper libgcc-*-dev package (libgcc-11-dev
for debian bookworm, libgcc-13-dev for trixie).

Change-Id: I9992d8cf8cd68a9e3ec9178909e0766dbd5d12ad
The file was modified_testenv/data/podman/Dockerfile
Commit 7943e83f8f21f223399907371d02c52155c475fe by Oliver Smith
testenv: debian 13: fix installing eclipse-titan

Use the current debian version instead of hardcoding Debian_12.

Change-Id: I56be4e3e72a1ad4590e904f9a48d90aa635c9980
The file was modified_testenv/data/podman/Dockerfile
Commit 8d21add62379e894791370c6699aec73283776da by Oliver Smith
testenv: check for --distro without --podman

The --distro option only makes sense with --podman, complain if it is
used without --podman.

Change-Id: I1b7b26320c65d498a1e812f85f0b98eda95be783
The file was modified_testenv/testenv/__init__.py
Commit a54861145eb74451afbdcda39546e8aa09f7b1ca by Oliver Smith
testenv: check value of --distro early

Make sure that the value for --distro is supported early on, instead of
only checking it if --binary-repo is set while trying to add the binary
repository.

Change-Id: I37493f26d71e70a19f4a19b3bbda972c03c84905
The file was modified_testenv/testenv/__init__.py
The file was modified_testenv/testenv/podman.py
Commit 6f5bca2e53d3740afabb96c350523d9dd770b046 by Oliver Smith
testenv: add debian:trixie

Change-Id: Ib62851960724c17f9adddf54a2fc39adef911d32
The file was modified_testenv/testenv/__init__.py
Commit f92398a3b38501adc330565566bca97e46bacd24 by Oliver Smith
testenv: enable_binary_repo: configure apt pin

Add an apt-pin to ensure packages from the Osmocom repositories get
preferred over Debian's packages. I just ran into this with osmo-mgw,
where we have 1.4.0 in osmocom:latest and Debian 13 has 1.14.0+dfsg1-2,
which counts as higher version. This results in the wrong package being
selected, and also in an error later on when trying to install related
debug packages from our repository:

  The following packages have unmet dependencies:
   osmo-mgw-dbgsym : Depends: osmo-mgw (= 1.14.0) but 1.14.0+dfsg1-2 is to be installed

Change-Id: I3a45de277bbd5299c8b840680b56b52a8731caa4
The file was modified_testenv/testenv/podman.py
Commit 99a5f8cc1e18ae95b7567120fd8979e05300ae59 by Oliver Smith
testenv: set default distro to debian:trixie

Related: OS#6826
Change-Id: Ib9c5dafaa7b17e435f61fbedfd92393c0a767f34
The file was modified_testenv/testenv/__init__.py