osmith submitted this change.
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
---
M _testenv/testenv/__init__.py
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/_testenv/testenv/__init__.py b/_testenv/testenv/__init__.py
index 3de7f0c..49f6368 100644
--- a/_testenv/testenv/__init__.py
+++ b/_testenv/testenv/__init__.py
@@ -69,6 +69,12 @@
action="store_true",
help="build image even if it is up-to-date",
)
+ sub_podman.add_argument(
+ "-d",
+ "--distro",
+ default=distro_default,
+ help=f"distribution for podman (default: {distro_default})",
+ )
sub_run = sub.add_parser("run", help="build components and run a testsuite")
To view, visit change 40942. To unsubscribe, or for help writing mail filters, visit settings.