From 252d6267111dc4db5ee8ab29ef520ec309ba1167 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 19 Mar 2021 11:19:00 +0100 Subject: 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 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'man/repart.d.xml') diff --git a/man/repart.d.xml b/man/repart.d.xml index b6346b3f85..67f687947e 100644 --- a/man/repart.d.xml +++ b/man/repart.d.xml @@ -486,7 +486,11 @@ The copy operation is executed before the file system is registered in the partition table, thus ensuring that a file system populated this way only ever exists fully initialized. - This option cannot be combined with CopyBlocks=. + This option cannot be combined with CopyBlocks=. + + When systemd-repart is invoked with the or + command line switches the source paths specified are taken relative to the + specified root directory or disk image root. -- cgit v1.2.1