Displaying 2 results from an estimated 2 matches for "ec9919f".
Did you mean:
ec9719ef
2016 Jan 14
2
[PATCH 1/2] builder: move os-version search in own function
Simple code motion, no behaviour changes.
---
builder/builder.ml | 46 ++++++++++++++++++++++++++--------------------
1 file changed, 26 insertions(+), 20 deletions(-)
diff --git a/builder/builder.ml b/builder/builder.ml
index 9c26573..ec9919f 100644
--- a/builder/builder.ml
+++ b/builder/builder.ml
@@ -75,6 +75,30 @@ let remove_duplicates index =
false
) index
+(* Look for the specified os-version, resolving it as alias first. *)
+let selected_cli_item cmdline index =
+ let arg =
+ (* Try to resolve the alias. *)
+...
2016 Jan 14
0
[PATCH 2/2] builder: allow a specific template for --list
...is makes it easier to find out the details of a specific template.
---
builder/builder.ml | 6 ++++++
builder/cmdline.ml | 3 ++-
builder/virt-builder.pod | 13 +++++++------
3 files changed, 15 insertions(+), 7 deletions(-)
diff --git a/builder/builder.ml b/builder/builder.ml
index ec9919f..1f9a472 100644
--- a/builder/builder.ml
+++ b/builder/builder.ml
@@ -213,6 +213,12 @@ let main () =
let mode =
match mode with
| `List -> (* --list *)
+ let sources, index =
+ match cmdline.arg with
+ | "" -> sources, index...