Yann Dirson
65499b3e35
iso-remaster: add zstd support for v9
...
Signed-off-by: Yann Dirson <yann.dirson@vates.tech >
2026-07-06 10:56:45 +02:00
Yann Dirson
68581e3d39
iso-remaster: properly implement -z
...
Original implementation took care of the flag, but did not apply the
selected compression algorithm.
Signed-off-by: Yann Dirson <yann.dirson@vates.tech >
2026-07-06 10:56:45 +02:00
Yann Dirson
1ac59c366b
iso-remaster: add samples for including answerfile inside ISO
...
Signed-off-by: Yann Dirson <yann.dirson@vates.tech >
2025-07-10 14:47:17 +02:00
Yann Dirson
a1b98730e3
iso-remaster: cleanup samples
...
Hopefully makes sample snippets easier to use.
Signed-off-by: Yann Dirson <yann.dirson@vates.tech >
2025-07-10 14:47:17 +02:00
Yann Dirson
a46fb66d14
iso-remaster: update requirements docs and checks for el8+
...
Signed-off-by: Yann Dirson <yann.dirson@vates.tech >
2025-03-31 12:25:25 +02:00
Yann Dirson
9dea2f587b
iso-remaster: update sample patcher for 8.3 host-installer
...
This Makefile was written specially for that need, let's use it :)
Signed-off-by: Yann Dirson <yann.dirson@vates.tech >
2025-03-18 11:19:13 +01:00
Yann Dirson
2105c105dd
iso-remaster README: show EPEL is needed
...
Signed-off-by: Yann Dirson <yann.dirson@vates.tech >
2025-02-07 11:54:58 +01:00
Yann Dirson
cf694027dc
iso-remaster: autodetect and support ISO without UEFI support
...
Also for XS before 7.0.
Signed-off-by: Yann Dirson <yann.dirson@vates.tech >
2025-02-07 11:54:58 +01:00
Yann Dirson
0a2c82493f
iso-remaster: support for other image compression than bzip2
...
XS before 7.x used gzip.
Signed-off-by: Yann Dirson <yann.dirson@vates.tech >
2025-02-07 11:54:58 +01:00
Yann Dirson
1b464e1eb5
iso-remaster: standardize option parsing a bit
...
Signed-off-by: Yann Dirson <yann.dirson@vates.tech >
2025-02-07 11:54:58 +01:00
Yann Dirson
058e03565b
iso-remaster: a bit of doc
...
Signed-off-by: Yann Dirson <yann.dirson@vates.tech >
2024-07-08 17:03:00 +02:00
Yann Dirson
71e3e4c1cf
iso-remaster: not every distro ships isohybrid in syslinux directly
...
Debian and derivatives let user install such utilities without the
bootloader files.
Signed-off-by: Yann Dirson <yann.dirson@vates.tech >
2024-06-19 11:57:39 +02:00
Yann Dirson
689b4b5faa
iso-remaster: fail more clearly when input ISO does not exist
...
In copy mode, '7z' would bomb out with a very unclear error message.
Signed-off-by: Yann Dirson <yann.dirson@vates.tech >
2024-06-19 11:57:15 +02:00
Yann Dirson
dc45d006eb
iso-remaster: on error, only attempt unmount mounted stuff
...
RWISO is mounted after running the img patcher, so cannot
be unmounted when img patcher runs, which would report a
confusing error.
Signed-off-by: Yann Dirson <yann.dirson@vates.fr >
2023-09-27 12:12:45 +02:00
Yann Dirson
92c168e343
iso-remaster: provide a flag to override iso volume id
...
Signed-off-by: Yann Dirson <yann.dirson@vates.fr >
2023-06-22 10:56:28 +02:00
Yann Dirson
ba80a38fcf
iso-remaster: group arguments similarly to create-install-iso
...
Signed-off-by: Yann Dirson <yann.dirson@vates.fr >
2023-06-22 10:56:24 +02:00
Yann Dirson
fcd5eaf23e
iso-remaster: explicit check for isoinfo
...
This one is known to be packaged separately from genisoimage at least on
Mageia 8.
Signed-off-by: Yann Dirson <yann.dirson@vates.fr >
2023-06-22 09:52:55 +02:00
Yann Dirson
53aa8cbeb7
iso-remaster: activate "pipefail" to catch stop on more errors
...
Notably catches missing isoinfo.
Signed-off-by: Yann Dirson <yann.dirson@vates.fr >
2023-06-22 09:43:26 +02:00
Yann Dirson
ca19a63cfc
iso-remaster: improve patch-installimg sample
...
More comments, and an example for adding extra RPMs.
Signed-off-by: Yann Dirson <yann.dirson@vates.fr >
2023-06-05 10:26:57 +02:00
Yann Dirson
ccd826bc2f
iso-remaster: detect missing genisoimage and isohybrid early
...
Signed-off-by: Yann Dirson <yann.dirson@vates.fr >
2023-06-05 10:26:42 +02:00
Yann Dirson
0b7da10462
iso-remaster: use createrepo_c in sample script
...
Plain `createrepo` is not available in Debian, using `createrepo_c` makes
things more portable.
Signed-off-by: Yann Dirson <yann.dirson@vates.fr >
2023-04-04 11:38:09 +02:00
Yann Dirson
635c50393c
iso-remaster: issue a visible error when a patcher script fails
...
Signed-off-by: Yann Dirson <yann.dirson@vates.fr >
2023-03-24 16:40:19 +01:00
Yann Dirson
47c08eac09
iso-remaster: bomb out early when a tool is missing
...
Signed-off-by: Yann Dirson <yann.dirson@vates.fr >
2023-03-24 16:40:12 +01:00
Yann Dirson
fb9a1db589
iso-remaster: fix re-sign example
...
Signed-off-by: Yann Dirson <yann.dirson@vates.fr >
2023-03-24 16:40:06 +01:00
Yann Dirson
f81e345805
iso-remaster: fix typo in help
...
Shell here-documents do not like Markdown.
Signed-off-by: Yann Dirson <yann.dirson@vates.fr >
2023-03-16 10:17:27 +01:00
Yann Dirson
a08426aacb
iso-remaster: don't include the [BOOT] cruft left by 7z
...
El-torito images are regenerated by genisofs, we don't need to keep a copy
of the old ones.
Signed-off-by: Yann Dirson <yann.dirson@vates.fr >
2023-01-26 12:42:32 +01:00
Yann Dirson
010df5ee11
iso-remaster samples: comment out all changes, add more cmdline examples
...
This makes them much more suitable to be used as starting points for
real use.
Signed-off-by: Yann Dirson <yann.dirson@vates.fr >
2023-01-26 12:41:16 +01:00
Yann Dirson
e92c83e72c
iso-remaster: demonstrate patching kernel commandline
...
Signed-off-by: Yann Dirson <yann.dirson@vates.fr >
2022-12-08 17:00:25 +01:00
Yann Dirson
22fc2ca688
iso-remaster: make sure to give absolute paths to patcher hooks
...
This will simplify implementation of patcher hooks in some situations
Signed-off-by: Yann Dirson <yann.dirson@vates.fr >
2022-12-08 17:00:20 +01:00
Yann Dirson
6488726fd0
iso-remaster: fix sample script for bad indentation
...
Shell here-documents like their cosy place at the start of line.
Signed-off-by: Yann Dirson <yann.dirson@vates.fr >
2022-12-08 15:32:03 +01:00
Yann Dirson
45ea1821f7
iso-remaster: more complete example: ISO retheming
...
Signed-off-by: Yann Dirson <yann.dirson@vates.fr >
2022-11-15 11:04:34 +01:00
Yann Dirson
b8bff476b8
New iso-remaster script and sample patcher scripts
...
Goal: replace most of the manual instructions in
https://xcp-ng.org/docs/develprocess.html#iso-modification
Base principle is "no need to be root", relies on fakeroot instead.
Can use fuseiso+fuse-overlay if possible to avoid copies.
Supports applying changes to install.img, and to the resulting ISO
contents.
Signed-off-by: Yann Dirson <yann.dirson@vates.fr >
2022-10-24 15:27:44 +02:00