osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/40967?usp=email )
Change subject: testenv: fix TESTENV_INSTALL_DIR for --binary-repo ......................................................................
testenv: fix TESTENV_INSTALL_DIR for --binary-repo
When --binary-repo is set, "/" must be used as install directory, without any suffix for the distribution.
Fix for: realpath: /-debian-trixie/usr/lib/osmo-s1gw: No such file or directory
Fixes: 2152d512 ("testenv: use separate cache dirs per distro") Change-Id: I1e1ca65fd6a7d77c751dd7138015ff474f8ae576 --- M _testenv/testenv/cmd.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Jenkins Builder: Verified fixeria: Looks good to me, but someone else must approve pespin: Looks good to me, approved
diff --git a/_testenv/testenv/cmd.py b/_testenv/testenv/cmd.py index 6f50677..2cc590a 100644 --- a/_testenv/testenv/cmd.py +++ b/_testenv/testenv/cmd.py @@ -33,7 +33,7 @@ install_dir = "/" else: install_dir = os.path.join(testenv.args.cache, "podman/install") - install_dir += distro_cache_suffix() + install_dir += distro_cache_suffix() else: install_dir = os.path.join(testenv.args.cache, "host/install")