[Libguestfs] [supermin PATCH 0/4] Check for output results for --if-newer (RHBZ#1813809)

Pino Toscano ptoscano at redhat.com
Fri Apr 3 10:20:54 UTC 2020


This is an attempt to make supermin check for the existing results of an
output when checking whether the appliance must be rebuilt using
--if-newer.

At the moment it is implemented only for the build mode, and for its
ext2 output format.

Pino Toscano (4):
  build: factor ext2 filenames
  Tighten Unix_error check for missing outputdir
  Extend modes with list of outputs
  build: set kernel/initrd/root as outputs (RHBZ#1813809)

 src/mode_build.ml           | 22 ++++++++++++--
 src/mode_build.mli          |  4 +++
 src/mode_prepare.ml         |  9 +++++-
 src/mode_prepare.mli        |  4 +++
 src/supermin.ml             | 11 +++++--
 tests/Makefile.am           |  3 +-
 tests/test-if-newer-ext2.sh | 57 +++++++++++++++++++++++++++++++++++++
 7 files changed, 102 insertions(+), 8 deletions(-)
 create mode 100755 tests/test-if-newer-ext2.sh

-- 
2.25.1




More information about the Libguestfs mailing list