Displaying 20 results from an estimated 3000 matches similar to: "[PATCH v3] RFC: New virt-dib tool"
2015 Jul 03
1
[PATCH v5] New tool: virt-dib
virt-dib is a new tool to run the elements of diskimage-builder using
libguestfs.
---
.gitignore | 5 +
Makefile.am | 3 +-
appliance/packagelist.in | 12 +
configure.ac | 1 +
dib/Makefile.am | 144 ++++++++
dib/cmdline.ml | 242 +++++++++++++
dib/dib.ml | 920 +++++++++++++++++++++++++++++++++++++++++++++++
2015 Mar 31
0
[PATCH] WIP: New virt-dib tool
virt-dib is a new tool to run the elements of diskimage-builder using
libguestfs.
---
Work in progress (debug stuff here and there), although I've submitting
it for initial review, for being included later when polished for good.
TODO items open:
- move Uname from builder to mllib
- improve the documentation
- review
- getting more testing (although it has been successfully tested for
2015 Jun 16
2
[PATCH v4] RFC: New tool: virt-dib
virt-dib is a new tool to run the elements of diskimage-builder using
libguestfs.
---
I would like to have it reviewed at this point, so it can be used.
Documentation and code can be improved and polished following feedback.
.gitignore | 5 +
Makefile.am | 3 +-
appliance/packagelist.in | 7 +
configure.ac | 1 +
dib/Makefile.am | 144
2015 Nov 11
2
[PATCH 1/2] dib: Make the interface between cmdline.ml and dib.ml explicit.
---
dib/Makefile.am | 5 ++-
dib/cmdline.ml | 49 +++++++++++++++++++++---
dib/cmdline.mli | 51 +++++++++++++++++++++++++
dib/dib.ml | 113 ++++++++++++++++++++++++++++++--------------------------
4 files changed, 158 insertions(+), 60 deletions(-)
create mode 100644 dib/cmdline.mli
diff --git a/dib/Makefile.am b/dib/Makefile.am
index 0786d64..ad1fd6a 100644
--- a/dib/Makefile.am
+++
2016 Aug 03
0
[PATCH] dib: rework run of extra-data.d hooks (RHBZ#1362354)
Instead of running them before lanching the appliance with the disks and
then uploading the result after root.d hooks run, mount the root in the
local temporary directory using FUSE and then run the hooks on the
guest. Other than being closer to what diskimage-builder does, it also
avoids issues with the extra-data.d scripts assuming to find things
already, and we don't error out while trying
2017 Mar 22
0
[PATCH 4/5] dib: require a Python interpreter
d-i-b 2.0 is written in Python, and thus it passes the information about
the interpreter used for it (sys.executable) to the scripts that need
it; this mechanism replaces the old discovery of what is the default
Python interpreter in the system.
Since we are not Python-based, look for 'python' and use it as default
interpreter, with the --python command line option to set a different
one.
2017 Feb 21
0
[PATCH 3/3] dib: rename "aux" to "in_target.aux"
Sadly, there are elements (hello "gentoo"!) that, during the cleanup.d
phase, wipe out almost everything in the /tmp of the guest, including
the /tmp/aux where virt-dib mounts the auxiliary data. Since that
removal excludes things starting with "in_target" (mostly to avoid
wiping the "in_target.d" that disk-image-create itself sets up, then
rename our "aux"
2017 Mar 22
7
[PATCH 0/5] dib: initial work to support d-i-b 2.0
Hi,
this series start to implement some of the changes needed to support
d-i-b 2.0; normal VM distro builds seem to work correctly, ramdisk
builds are still broken and require more efforts.
Thanks,
Pino Toscano (5):
dib: implement get_image_element_array stuff
dib: export IMAGE_BLOCK_DEVICE_WITHOUT_PART
dib: extract get_required_tool out of require_tool
dib: require a Python interpreter
2017 Feb 02
7
[PATCH 0/6] dib: various improvements
Hi,
this series improves virt-dib, adding some upstream changes, and
refactoring the handling of output formats.
Thanks,
Pino Toscano (6):
dib: clear up "already provided" message
dib: add --checksum
dib: pass custom mkfs options after the filesystem type
dib: refactor output formats handling
dib: clarify "output:" lines in --machine-readable documentation
dib:
2017 Feb 21
3
[PATCH 1/3] dib: unset all temporary dirs envvars in fake-sudo
The real sudo does it as well, and leaving them when preserving the
environment (-E) maybe breaks the applications, as e.g. chroot will have
a TMPDIR path pointing outside of it.
---
dib/dib.ml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/dib/dib.ml b/dib/dib.ml
index df83ba1..d15cd19 100644
--- a/dib/dib.ml
+++ b/dib/dib.ml
@@ -301,6 +301,11 @@ if [ -z \"$preserve_env\" ];
2017 Feb 14
14
[PATCH 00/10] dib/API: improvements and fixes
Hi,
this patch series does changes mostly in virt-dib, few bug fixes and
a couple of new features (mostly implemented upstream already).
In addition, one new API is added, and a new optional argument for an
existing API is added (the latter is not needed, but could be useful
anyway).
Thanks,
Pino Toscano (10):
dib: fix listing envvars in fake-sudo
dib: source dib "die" script in
2017 Sep 19
1
Re: [PATCH 2/5] Make sure every *.ml file has a corresponding *.mli file.
On Monday, 18 September 2017 18:39:40 CEST Richard W.M. Jones wrote:
> dib/output_format_docker.mli | 19 +
> dib/output_format_qcow2.mli | 19 +
> dib/output_format_raw.mli | 19 +
> dib/output_format_squashfs.mli | 19 +
> dib/output_format_tar.mli | 19 +
>
2015 Nov 11
0
[PATCH 2/2] dib: Turn a few progress messages into info messages.
---
dib/dib.ml | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/dib/dib.ml b/dib/dib.ml
index 4a0c9ee..06a1f67 100644
--- a/dib/dib.ml
+++ b/dib/dib.ml
@@ -467,7 +467,7 @@ let main () =
let elements =
if cmdline.is_ramdisk then [cmdline.ramdisk_element] @ elements
else elements in
- message (f_"Elements: %s") (String.concat " "
2017 Feb 14
0
[PATCH 10/10] dib: add squashfs output format
Implement the "squash" output format, i.e. a squashfs compressed
filesystem.
This was implemented in diskimage-builder upstream as
commit 9d13084c4183b63587e1f5e4b03395a8df6538f6.
---
dib/Makefile.am | 1 +
dib/output_format_squashfs.ml | 39 +++++++++++++++++++++++++++++++++++++++
dib/utils.ml | 1 +
dib/virt-dib.pod | 6 ++++++
4 files
2015 Jun 30
0
Re: [PATCH v4] RFC: New tool: virt-dib
On Tue, Jun 16, 2015 at 12:15:22PM +0200, Pino Toscano wrote:
[...]
There is some trailing whitespace on one line. 'git show' should
highlight it.
> diff --git a/appliance/packagelist.in b/appliance/packagelist.in
> index 76c7293..a4f814b 100644
> --- a/appliance/packagelist.in
> +++ b/appliance/packagelist.in
> @@ -255,5 +255,12 @@ zerofree
>
>
2015 Oct 06
0
[PATCH 5/5] mllib: Replace various ad hoc string_* functions with String.*
This is just a straight refactoring. Various ad hoc string_*
functions that appeared in Common_utils have been renamed and placed
in the String.* namespace. The old vs "new" functions are:
string_prefix -> String.is_prefix
string_suffix -> String.is_suffix
string_find -> String.find
replace_str -> String.replace
string_nsplit -> String.nsplit
string_split
2015 Jul 01
1
Re: [PATCH v4] RFC: New tool: virt-dib
On Tuesday 30 June 2015 20:14:24 Richard W.M. Jones wrote:
> On Tue, Jun 16, 2015 at 12:15:22PM +0200, Pino Toscano wrote:
> [...]
>
> There is some trailing whitespace on one line. 'git show' should
> highlight it.
Fixed, thanks.
> > diff --git a/appliance/packagelist.in b/appliance/packagelist.in
> > index 76c7293..a4f814b 100644
> > ---
2016 Aug 03
3
[PATCH] mllib: move _exit from v2v as Exit module
Move the OCaml binding to C _exit to an own module.
Just code motion, adapting v2v in the process.
---
docs/C_SOURCE_FILES | 2 +-
mllib/Makefile.am | 5 ++++-
mllib/exit-c.c | 33 +++++++++++++++++++++++++++++++++
mllib/exit.ml | 19 +++++++++++++++++++
mllib/exit.mli | 20 ++++++++++++++++++++
v2v/Makefile.am | 1 -
v2v/changeuid-c.c | 33
2017 Feb 17
0
[PATCH 2/2] dib: small documentation improvements
Improve the grammar, and the wording, and make few details explicit.
No change in the actual content.
---
dib/virt-dib.pod | 29 ++++++++++++++++-------------
1 file changed, 16 insertions(+), 13 deletions(-)
diff --git a/dib/virt-dib.pod b/dib/virt-dib.pod
index 7083e78..be7550a 100644
--- a/dib/virt-dib.pod
+++ b/dib/virt-dib.pod
@@ -206,7 +206,7 @@ B<docker>.
=item C<qcow2>
2016 Jul 18
0
[PATCH v2 2/3] mllib: Use L"..." and S '...' for long and short options.
---
builder/cmdline.ml | 61 +++++++--------
dib/cmdline.ml | 57 +++++++-------
generator/customize.ml | 29 +++----
get-kernel/get_kernel.ml | 17 +++--
mllib/common_utils.ml | 15 ++--
mllib/getopt.ml | 121 +++++++++++++++---------------
mllib/getopt.mli