summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2024-07-02 18:34:39 +0200
committerDaan De Meyer <daan.j.demeyer@gmail.com>2024-07-03 15:45:51 +0200
commit90a255779d1f8e6697e08e91918df88bb52274ad (patch)
treefe807f19a13e381319ba1d4fe9d9c3ff7cff04b0 /docs
parentmkosi: Copy packages to the build directory as well (diff)
downloadsystemd-90a255779d1f8e6697e08e91918df88bb52274ad.tar.xz
systemd-90a255779d1f8e6697e08e91918df88bb52274ad.zip
repart: Allow overriding fstype per partition designator
$SYSTEMD_REPART_OVERRIDE_FSTYPE is too invasive. Often you want to override the fstype only for a specific designator, so let's support that as well.
Diffstat (limited to 'docs')
-rw-r--r--docs/ENVIRONMENT.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/ENVIRONMENT.md b/docs/ENVIRONMENT.md
index 1352d31b91..5848c0fd80 100644
--- a/docs/ENVIRONMENT.md
+++ b/docs/ENVIRONMENT.md
@@ -634,6 +634,10 @@ SYSTEMD_HOME_DEBUG_SUFFIX=foo \
* `$SYSTEMD_REPART_OVERRIDE_FSTYPE` – if set the value will override the file
system type specified in Format= lines in partition definition files.
+ Additionally, the filesystem for all partitions with a specific designator can
+ be overridden via a correspondingly named environment variable. For example,
+ to override the filesystem type for all partitions with `Type=root`, you can
+ set `SYSTEMD_REPART_OVERRIDE_FSTYPE_ROOT=ext4`.
`systemd-nspawn`, `systemd-networkd`: