diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-04-08 22:33:40 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-04-11 18:49:23 +0900 |
commit | 5cf69e709eb928662f03944ac4064157784b0d76 (patch) | |
tree | ce70545a987e8a47fe618b09e6c0261370c615dd /docs | |
parent | f4a1d32c82489d2b734a3c266aa47ba697100312 (diff) | |
download | systemd-5cf69e709eb928662f03944ac4064157784b0d76.tar.gz |
os-util: make $SYSTEMD_OS_RELEASE prefixed with the root directory
To make it consistent with other env vars, e.g. $SYSTEMD_ESP_PATH or
$SYSTEMD_XBOOTLDR_PATH.
This is useful when the root is specified by a file descriptor, instead
of a path.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/ENVIRONMENT.md | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/ENVIRONMENT.md b/docs/ENVIRONMENT.md index 292a0f1e0e..445131b479 100644 --- a/docs/ENVIRONMENT.md +++ b/docs/ENVIRONMENT.md @@ -45,8 +45,7 @@ All tools: * `$SYSTEMD_OS_RELEASE` — if set, use this path instead of `/etc/os-release` or `/usr/lib/os-release`. When operating under some root (e.g. `systemctl - --root=…`), the path is taken relative to the outside root. Only useful for - debugging. + --root=…`), the path is prefixed with the root. Only useful for debugging. * `$SYSTEMD_FSTAB` — if set, use this path instead of `/etc/fstab`. Only useful for debugging. |