]> git.ipfire.org Git - thirdparty/systemd.git/commit
repart: Add --split option to generate split artifacts 24746/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 19 Sep 2022 14:58:20 +0000 (16:58 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 22 Sep 2022 13:10:03 +0000 (15:10 +0200)
commit4cee83331c3071925b1b8d70dea8d365275a2c8e
treeb9b76e731b5990c4251ca1be01b72ca2cbaddd2b
parent1e58a0a82ca309112016dfa8793f3c37a31d93e9
repart: Add --split option to generate split artifacts

For use with sysupdate or other systemd tooling, it's useful to be
able to generate split artifacts from disk images, where each
partition is written to a separate file. Let's support this with
a --split switch for repart and a SplitName= configuration option.

--split enables split artifacts generation, and SplitName= configures
for which partition to generate split artifacts, and which suffix to
add to the split artifact name.

For SplitName=, we add support for some extra specifiers, more specifically
the partition Type UUID and the partition UUID.
man/repart.d.xml
man/systemd-repart.xml
src/partition/repart.c