Displaying 9 results from an estimated 9 matches for "mode_prepare".
2018 Dec 03
4
[supermin PATCH 0/2] Create a really empty base.tar.gz
See patch #2 for more explanation.
Pino Toscano (2):
prepare: keep config_files available for longer
prepare: create a really empty base.tar.gz with no config files
src/mode_prepare.ml | 87 +++++++++++++++++++++++++++------------------
1 file changed, 52 insertions(+), 35 deletions(-)
--
2.17.2
2020 Apr 03
5
[supermin PATCH 0/4] Check for output results for --if-newer (RHBZ#1813809)
...utput 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-n...
2020 Apr 03
0
[supermin PATCH 3/4] Extend modes with list of outputs
...ion for each mode to return the list of potential outputs, so
that the existance/timestamp checks done for --if-newer can take those
into accounts.
At the moment both modes return no outputs, so there is no behaviour
change.
---
src/mode_build.ml | 7 +++++++
src/mode_build.mli | 4 ++++
src/mode_prepare.ml | 9 ++++++++-
src/mode_prepare.mli | 4 ++++
src/supermin.ml | 9 +++++++--
5 files changed, 30 insertions(+), 3 deletions(-)
diff --git a/src/mode_build.ml b/src/mode_build.ml
index d54a3cd..4a58460 100644
--- a/src/mode_build.ml
+++ b/src/mode_build.ml
@@ -462,3 +462,10 @@ and munge fi...
2018 Dec 03
4
[supermin PATCH v2 0/3] Better handle no config files
...essage
- patch #3 changed approach, from "create really empty" to "not create
at all"
Pino Toscano (3):
build: ignore empty files
prepare: keep config_files available for longer
prepare: do not create base.tar.gz with no config files
src/mode_build.ml | 7 +++-
src/mode_prepare.ml | 83 +++++++++++++++++++++++++--------------------
2 files changed, 52 insertions(+), 38 deletions(-)
--
2.17.2
2020 Apr 03
2
Re: [supermin PATCH 3/4] Extend modes with list of outputs
...tial outputs, so
> that the existance/timestamp checks done for --if-newer can take those
> into accounts.
>
> At the moment both modes return no outputs, so there is no behaviour
> change.
Patches 1, 2 and 4 are fine.
I have a minor problem with this patch:
> diff --git a/src/mode_prepare.ml b/src/mode_prepare.ml
> index 70f9dd4..e0ad1a8 100644
> --- a/src/mode_prepare.ml
> +++ b/src/mode_prepare.ml
> @@ -21,7 +21,7 @@ open Printf
> open Package_handler
> open Utils
>
> -let prepare debug (copy_kernel, format, host_cpu,
> +let rec prepare debug (copy_k...
2018 Dec 03
0
[supermin PATCH 1/2] prepare: keep config_files available for longer
This is just refactoring, with no behaviour changes.
---
src/mode_prepare.ml | 40 ++++++++++++++++++++--------------------
1 file changed, 20 insertions(+), 20 deletions(-)
diff --git a/src/mode_prepare.ml b/src/mode_prepare.ml
index 7c8221e..7759c58 100644
--- a/src/mode_prepare.ml
+++ b/src/mode_prepare.ml
@@ -128,28 +128,28 @@ let prepare debug (copy_kernel, format,...
2018 Dec 03
0
[supermin PATCH 2/2] prepare: create a really empty base.tar.gz with no config files
..., the buffer in
get_compressed_file_content will be filled by zero's, and
get_file_content will fail to detect anything.
As solution, at least for our own base.tar.gz: in case there are no
config files to copy, create a gzip file from /dev/null, which is still
recognized as empty tar.
---
src/mode_prepare.ml | 49 ++++++++++++++++++++++++++++++---------------
1 file changed, 33 insertions(+), 16 deletions(-)
diff --git a/src/mode_prepare.ml b/src/mode_prepare.ml
index 7759c58..8a09315 100644
--- a/src/mode_prepare.ml
+++ b/src/mode_prepare.ml
@@ -149,20 +149,37 @@ let prepare debug (copy_kernel, fo...
2016 Dec 07
5
[PATCH 0/3] Miscellaneous improvements to supermin.
Document what each module does, using *.mli files.
Remove the --dtb option, it's obsolete.
Rename modules according to their purpose.
Rich.
2017 Aug 03
14
[PATCH supermin 0/9] kernel: Multiple fixes to handling of kernels (RHBZ#1477758).
This patch series fixes several problems in the way that supermin
handles kernels. The most pressing problem is that supermin doesn't
handle bogus vmlinuz files which aren't actual kernels. Along the way
there is a lot of clean up.
The patches look much better if you view them with ‘-w’.
This series will require plenty of time to be tested in Fedora,
especially on non-x86 arches.