summaryrefslogtreecommitdiff
path: root/man/repart.d.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-03-19 11:19:00 +0100
committerLennart Poettering <lennart@poettering.net>2021-04-19 23:16:02 +0200
commit252d6267111dc4db5ee8ab29ef520ec309ba1167 (patch)
tree9635e975099221683d7e1f567771e90efdb42cea /man/repart.d.xml
parent8e5f3cecdf71817bbfbf6a9c61acdb47b676d5d6 (diff)
downloadsystemd-252d6267111dc4db5ee8ab29ef520ec309ba1167.tar.gz
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
Diffstat (limited to 'man/repart.d.xml')
-rw-r--r--man/repart.d.xml6
1 files changed, 5 insertions, 1 deletions
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 @@
<para>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.</para>
- <para>This option cannot be combined with <varname>CopyBlocks=</varname>.</para></listitem>
+ <para>This option cannot be combined with <varname>CopyBlocks=</varname>.</para>
+
+ <para>When <command>systemd-repart</command> is invoked with the <option>--image=</option> or
+ <option>--root=</option> command line switches the source paths specified are taken relative to the
+ specified root directory or disk image root.</para></listitem>
</varlistentry>
<varlistentry>