repart: add --image= switch
authorLennart Poettering <lennart@poettering.net>
Fri, 19 Mar 2021 10:19:00 +0000 (11:19 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 19 Apr 2021 21:16:02 +0000 (23:16 +0200)
commit252d6267111dc4db5ee8ab29ef520ec309ba1167
tree9635e975099221683d7e1f567771e90efdb42cea
parent8e5f3cecdf71817bbfbf6a9c61acdb47b676d5d6
repart: add --image= switch

This is similar to the --image= switch in the other tools, like
systemd-sysusers or systemd-tmpfiles, i.e. it apply the configuration
from the image to the image.

This is particularly useful for downloading minimized GPT image, and
then extending it to the desired size via:

   # systemd-repart --image=foo.image --size=5G
man/repart.d.xml
man/systemd-repart.xml
src/partition/repart.c