search for: 7e522e9

Displaying 3 results from an estimated 3 matches for "7e522e9".

Did you mean: 6ea22e9
2015 Jul 13
2
[PATCH 1/2] utils: import parse_size from libguestfs
--- src/utils.ml | 21 +++++++++++++++++++++ src/utils.mli | 3 +++ 2 files changed, 24 insertions(+) diff --git a/src/utils.ml b/src/utils.ml index 3e81c21..7ae24bd 100644 --- a/src/utils.ml +++ b/src/utils.ml @@ -204,3 +204,24 @@ let compare_architecture a1 a2 = exit 1 in compare (index_of_architecture a1) (index_of_architecture a2) + +(* Parse a size field, eg. "10G".
2015 Jul 13
0
[PATCH 2/2] Add --size for ext2 filesystem
...Y;O_CREAT;O_TRUNC;O_NOCTTY] 0o644 in - LargeFile.ftruncate fd appliance_size; + let size = + match size with + | None -> default_appliance_size + | Some s -> s in + LargeFile.ftruncate fd size; close fd; let cmd = diff --git a/src/prepare.ml b/src/prepare.ml index 75f21dc..7e522e9 100644 --- a/src/prepare.ml +++ b/src/prepare.ml @@ -22,7 +22,7 @@ open Package_handler open Utils let prepare debug (copy_kernel, dtb_wildcard, format, host_cpu, - packager_config, tmpdir, use_installed) + packager_config, tmpdir, use_installed, size) inputs output...
2015 Dec 02
4
[PATCH 0/3] supermin: add --include-packagelist
Hi, to ease debugging issues with appliances (e.g. when used in libguestfs), using --include-packagelist will add a file containing the list of all the packages used. Thanks, Pino Toscano (3): ext2: add ext2fs_chmod and ext2fs_chown chroot: factor out file copy code Add --include-packagelist src/build.ml | 42 +++++++++++++++++++++++++------ src/chroot.ml | 29