search for: dib

Displaying 20 results from an estimated 457 matches for "dib".

Did you mean: db
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 dib: implement IMAGE_ELEMENT_YAML dib/cmdline.ml | 21 ++++++++++++++++++++- dib/cmdline.mli | 1 + dib/dib.ml...
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 &quo...
2015 Aug 12
3
[PATCH 0/1] dib: handle unsetting functions in environment
This fixes this error I'm hitting when trying to run virt-dib: $ ./run virt-dib -v -x -B ~/git/diskimage-builder/lib/ --element-path ~/git/diskimage-builder/elements/ fedora-minimal [ 0.0] Elements: base fedora-minimal [ 0.0] Expanded elements: base dib-init-system dib-run-parts fedora-minimal install-types package-installs pkg-map redhat-common rpm-dist...
2015 Aug 12
2
Re: [PATCH] dib: handle unsetting functions in environment
...ion name, with its trailing parentheses, is in the > environment , trying to unset it will error out with a message of "not > a valid identifier". In this case, try to unset it again with the -f > option which can handle the parentheses in the supplied identifier. > --- > dib/dib.ml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/dib/dib.ml b/dib/dib.ml > index d730527..519da51 100644 > --- a/dib/dib.ml > +++ b/dib/dib.ml > @@ -283,7 +283,7 @@ if [ -z \"$preserve_env\" ]; then > for envvar in `env | grep ...
2017 Mar 22
0
[PATCH 4/5] dib: require a Python interpreter
...n-based, look for 'python' and use it as default interpreter, with the --python command line option to set a different one. The only place where it is used so far are extra-data.d scripts; in case it will be used also in other out-of-chroot phases, a different solution will be needed. --- dib/cmdline.ml | 21 ++++++++++++++++++++- dib/cmdline.mli | 1 + dib/dib.ml | 10 +++++++++- dib/virt-dib.pod | 11 +++++++++++ 4 files changed, 41 insertions(+), 2 deletions(-) diff --git a/dib/cmdline.ml b/dib/cmdline.ml index 875f617..2cc1722 100644 --- a/dib/cmdline.ml +++ b/dib/cmdline...
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 changed, 47 insertions(+) create mode 100644 dib/output_format_squashfs.ml diff --git a/dib/Makefi...
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...
2016 Apr 21
1
[PATCH] dib: Rewrite match statement as ordinary if statement.
Just stylistic change, no functional change. --- dib/dib.ml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dib/dib.ml b/dib/dib.ml index 06a1f67..35ae6b7 100644 --- a/dib/dib.ml +++ b/dib/dib.ml @@ -781,9 +781,8 @@ let main () = ) @ mkfs_options @ [ "-t"; cmdline.fs_type; blockdev ] in ignore (g#debug &quot...
2015 Aug 12
2
[PATCH v2] dib: handle unsetting functions in environment
When I turned off debug and actually looked at the normal output, this is a bit noisy... [jeckersb@baozi libguestfs]$ ./run virt-dib -B ~/git/diskimage-builder/lib/ --element-path ~/git/diskimage-builder/elements/ fedora-minimal [ 0.0] Elements: base fedora-minimal [ 0.0] Expanded elements: base dib-init-system dib-run-parts fedora-minimal install-types package-installs pkg-map redhat-common rpm-distro yum yum-minimal [ 0....
2017 Feb 17
2
[PATCH 1/2] dib: preserve xattrs and SELinux attributes when exporting as tar
When extracting the content of the guest as tar, save also the extended attributes and the SELinux attributes. This makes sure guests exported as tar, tgz, and as docker image will work fine afterwards. This is what disk-image-create does as well. --- dib/output_format_docker.ml | 3 ++- dib/output_format_tar.ml | 3 ++- dib/output_format_tgz.ml | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/dib/output_format_docker.ml b/dib/output_format_docker.ml index 5303cf9..903ac65 100644 --- a/dib/output_format_docker.ml +++ b/...
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...
2012 Jan 30
4
DIB Engine
Is the lastes versione of Dib engine included in wine1.4rc?? If not, how i where i can take the copy of the lastes version of the dib engine... I have already controlled http://wiki.winehq.org/DIBEngine and http://bugs.winehq.org/show_bug.cgi?id=421 but i could not find the lastest dib engine version.. Pls need help and sory...
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\" ]; then esac done fi +# TMPDIR needs to be unset, regardless of -E +unset TMPDIR...
2016 Aug 03
0
[PATCH] dib: rework run of extra-data.d hooks (RHBZ#1362354)
...e 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 to unpack files on the guest. Since virt-dib requires FUSE now, build it only if FUSE is supported. --- Makefile.am | 4 +- dib/dib.ml | 123 +++++++++++++++++++++++++++++++------------------------ dib/virt-dib.pod | 23 ----------- 3 files changed, 73 insertions(+), 77 deletions(-) diff --git a/Makefile.am b/Makefile.am index...
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 docu...
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> (enabled by d...
2016 Sep 23
2
[PATCH 1/2] mllib: move remove_duplicates from v2v
Simple code motion. --- mllib/common_utils.ml | 9 +++++++++ mllib/common_utils.mli | 6 ++++++ v2v/utils.ml | 9 --------- v2v/utils.mli | 3 --- 4 files changed, 15 insertions(+), 12 deletions(-) diff --git a/mllib/common_utils.ml b/mllib/common_utils.ml index 81d8202..78618f5 100644 --- a/mllib/common_utils.ml +++ b/mllib/common_utils.ml @@ -297,6 +297,15 @@ let sort_uniq
2016 Aug 02
2
[PATCH] mllib: move which and its exception from dib
Rename it from "tool" to "executable" in the process, but otherwise it is just code motion (with minimal adjustments in dib). --- dib/dib.ml | 2 +- dib/utils.ml | 16 +--------------- mllib/common_utils.ml | 14 ++++++++++++++ mllib/common_utils.mli | 9 +++++++++ 4 files changed, 25 insertions(+), 16 deletions(-) diff --git a/dib/dib.ml b/dib/dib.ml index de4f242..87af4eb 100644 --- a/dib/di...
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 ++++++++++++...
2011 Oct 21
1
New DIB Engine still slow compared to the MAX engine?
I've been using the Max version of the DIB engine for a long time now, and it was always useful because it sped up everything so much. There were of course occasional glitches graphically (noticeably a few font colour issues though these were still less severe than the font color issues without max's engine). Once Huw started work on...