summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-07-14 13:29:06 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-07-15 15:48:05 +0200
commit99e3d4767932bce5febb45e8543162d729d17425 (patch)
treed9202cdc67661aefc7fd1a7aeeb439f8b8501958 /docs
parentfstab-generator: properly report the source of data (diff)
downloadsystemd-99e3d4767932bce5febb45e8543162d729d17425.tar.xz
systemd-99e3d4767932bce5febb45e8543162d729d17425.zip
fstab-generator: allow overriding path to /sysroot/etc/fstab too
This adds $SYSTEMD_SYSROOT_FSTAB analoguous to $SYSTEMD_FSTAB.
Diffstat (limited to 'docs')
-rw-r--r--docs/ENVIRONMENT.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/ENVIRONMENT.md b/docs/ENVIRONMENT.md
index 7caa951814..fc173289d9 100644
--- a/docs/ENVIRONMENT.md
+++ b/docs/ENVIRONMENT.md
@@ -51,6 +51,9 @@ All tools:
* `$SYSTEMD_FSTAB` — if set, use this path instead of `/etc/fstab`. Only useful
for debugging.
+* `$SYSTEMD_SYSROOT_FSTAB` — if set, use this path instead of
+ `/sysroot/etc/fstab`. Only useful for debugging `systemd-fstab-generator`.
+
* `$SYSTEMD_CRYPTTAB` — if set, use this path instead of `/etc/crypttab`. Only
useful for debugging. Currently only supported by
`systemd-cryptsetup-generator`.