repart: Allow combining CopyBlocks= and CopyFiles=
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 28 Jul 2023 16:09:29 +0000 (18:09 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 1 Aug 2023 05:53:34 +0000 (07:53 +0200)
commitdea0dc7ba2d779e5b65cb029395216859408931c
treed8a87d33c35337f92749edf7c6f06128b530d925
parent2843df3e5734aa07b82b96ba46b799921a6495b8
repart: Allow combining CopyBlocks= and CopyFiles=

Let's allow the combination of these two options. When used, repart
will first try to apply the CopyBlocks= behavior. If that's not possible,
it falls back to the CopyFiles= behavior.

This is a first step in being able to also use the partition definition
files shipped in the image to build the image in mkosi instead of having
a separate set of repart definition files to build the image.
man/repart.d.xml
src/partition/repart.c
test/units/testsuite-58.sh