search for: 45385f713

Displaying 5 results from an estimated 5 matches for "45385f713".

2017 Oct 27
0
[PATCH v11 4/8] builder: add Utils.get_image_infos function
...age_infos filepath = + let qemuimg_cmd = "qemu-img info --output json " ^ (Std_utils.quote filepath) in + let lines = external_command qemuimg_cmd in + let line = String.concat "\n" lines in + Yajl.yajl_tree_parse line diff --git a/builder/utils.mli b/builder/utils.mli index 45385f713..4acde9f36 100644 --- a/builder/utils.mli +++ b/builder/utils.mli @@ -28,3 +28,7 @@ and revision = val string_of_revision : revision -> string (** Convert a {!revision} into a string. *) + +val get_image_infos : string -> Yajl.yajl_val +(** [get_image_infos path] Run qemu-img info on the...
2017 Oct 27
15
[PATCH v11 0/8] virt-builder-repository
Hi all, Here is the latest version of the series. Diffs to v10: * Make Index.arch a (string, string option) maybe and use it to guess arch at parse time * Compute the image size at parse time when the template flag is set and the value is missing. * Add virt-repository_main slow test * Other fixes from Richard's comments Cédric Bosdonnat (7): Ignore builder/*.out and *.img
2017 Sep 20
8
[PATCH v2 0/6] Fix OCaml dependencies.
v1 -> v2: - Fixed everything mentioned in patch review. - Libdir module is removed as a separate commit. Rich.
2017 Sep 18
0
[PATCH 2/5] Make sure every *.ml file has a corresponding *.mli file.
...st +(** [$XDG_CONFIG_DIRS] (which is a colon-separated path), split. Empty + elements are removed from the list. If the environment variable + is not set [["/etc/xdg"]] is returned instead. *) diff --git a/builder/utils.mli b/builder/utils.mli new file mode 100644 index 000000000..45385f713 --- /dev/null +++ b/builder/utils.mli @@ -0,0 +1,30 @@ +(* virt-builder + * Copyright (C) 2013-2017 Red Hat Inc. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; ei...
2017 Sep 18
6
[PATCH 0/5] Fix OCaml dependencies.
This works reliably for me ... Rich.