Displaying 3 results from an estimated 3 matches for "4091f1d".
Did you mean:
4091,1
2020 Apr 03
5
[supermin PATCH 0/4] Check for output results for --if-newer (RHBZ#1813809)
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
2020 Apr 03
0
[supermin PATCH 3/4] Extend modes with list of outputs
...d. *)
+
+val get_outputs : (bool * Types.format * string * string option * string * bool * int64 option * bool) -> string list -> string list
+(** [get_outputs (args...) inputs] gets the potential outputs for the
+ appliance. *)
diff --git a/src/supermin.ml b/src/supermin.ml
index 80c48e6..4091f1d 100644
--- a/src/supermin.ml
+++ b/src/supermin.ml
@@ -236,10 +236,15 @@ appliance automatically.
*)
if if_newer then (
try
- let odate = (lstat outputdir).st_mtime in
+ let mode_outputs =
+ match mode with
+ | Prepare -> Mode_prepare.get_outputs args inputs
+...
2020 Apr 03
2
Re: [supermin PATCH 3/4] Extend modes with list of outputs
...puts : (bool * Types.format * string * string option * string * bool * int64 option * bool) -> string list -> string list
> +(** [get_outputs (args...) inputs] gets the potential outputs for the
> + appliance. *)
> diff --git a/src/supermin.ml b/src/supermin.ml
> index 80c48e6..4091f1d 100644
> --- a/src/supermin.ml
> +++ b/src/supermin.ml
> @@ -236,10 +236,15 @@ appliance automatically.
> *)
> if if_newer then (
> try
> - let odate = (lstat outputdir).st_mtime in
> + let mode_outputs =
> + match mode with
> + | Pr...