repart: Add support for reading mkfs options from environment

This commit is contained in:
Daan De Meyer
2023-03-10 09:33:39 +01:00
committed by Lennart Poettering
parent e0e818bb14
commit 4b8ce14f6c
5 changed files with 48 additions and 23 deletions
+6
View File
@@ -520,3 +520,9 @@ SYSTEMD_HOME_DEBUG_SUFFIX=foo \
systemd-stub. Normally, requested measurement of resources is conditionalized
on kernels that have booted with `systemd-stub`. With this environment
variable the test for that my be bypassed, for testing purposes.
`systemd-repart`:
* `$SYSTEMD_REPART_MKFS_OPTIONS_<FSTYPE>` – configure additional arguments to use for
`mkfs` when formatting partition file systems. There's one variable for each
of the supported file systems.