Displaying 3 results from an estimated 3 matches for "1c9092b".
Did you mean:
139092
2015 Jan 27
1
[PATCH] customize: handle Arg.Set parameters in commands file
When reading commands from a file, handle also Arg.Set parameters, so
they can be enabled as well.
---
generator/customize.ml | 1 +
1 file changed, 1 insertion(+)
diff --git a/generator/customize.ml b/generator/customize.ml
index 4844681..1c9092b 100644
--- a/generator/customize.ml
+++ b/generator/customize.ml
@@ -696,6 +696,7 @@ pr " ] in
(match spec with
| Arg.Unit fn -> fn ()
| Arg.String fn -> fn arg
+ | Arg.Set varref -> varref := true
| _ -> error \"INTERNAL...
2015 Feb 02
0
[PATCH 7/7] customize: add copy-in operation (RHBZ#1135585).
...ocalpath, remotedir) ->
+ msg (f_"Copying: %s to %s") localpath remotedir;
+ g#copy_in localpath remotedir
+
| `Delete path ->
msg (f_"Deleting: %s") path;
g#rm_rf path
diff --git a/generator/customize.ml b/generator/customize.ml
index c041f82..1c9092b 100644
--- a/generator/customize.ml
+++ b/generator/customize.ml
@@ -85,6 +85,19 @@ as if they were specified as I<--delete /some/file> on the command
line.";
};
+ { op_name = "copy-in";
+ op_type = StringPair "LOCALPATH:REMOTEDIR";
+ op_discrim = "`...
2015 Feb 02
8
[PATCH 0/7 v2] Make copy_in & copy_out APIs, and use copy_in in customize
Hi,
attached there is the second version of the patch series adding
copy_in and copy_out in the library, mostly moving them from guestfish.
It also adds the copy_in usage in virt-customize, as aid in a new image
building.
Thanks,
Pino Toscano (7):
cmd: add a way to run (and wait) asynchronously commands
cmd: add a child-setup callback
cmd: add the possibility to get a fd to the process