]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
ci: helper: Add --lcitool-path CLI option
authorErik Skultety <eskultet@redhat.com>
Thu, 24 Aug 2023 08:33:43 +0000 (10:33 +0200)
committerErik Skultety <eskultet@redhat.com>
Tue, 12 Sep 2023 09:36:03 +0000 (11:36 +0200)
We'll soon be relying solely on lcitool so we need to be able to run it
from a user-provided location if it's not installed in a known
location.

Signed-off-by: Erik Skultety <eskultet@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
ci/helper

index d3de6d96cb8daa4d140f690ec9f64b777520769c..75552774f684d8c26d76e050cce2381c7fa8b302 100755 (executable)
--- a/ci/helper
+++ b/ci/helper
@@ -43,6 +43,12 @@ class Parser:
             default="latest",
             help="use container images with non-default tags",
         )
+        containerparser.add_argument(
+            "--lcitool-path",
+            dest="lcitool",
+            default="lcitool",
+            help="path to lcitool (default: $PATH)",
+        )
 
         # Options that are common to all actions that call the
         # project's build system