From: Marcus Folkesson Date: Tue, 17 Oct 2017 19:03:23 +0000 (+0200) Subject: docs: mention the $OSTREE_REPO environment variable X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~4^2~30^2~41 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=075e676eb63a3abaf647c789e22d8d1afe3a1dd5;p=ostree.git docs: mention the $OSTREE_REPO environment variable $OSTREE_REPO may be set to override the default location of the repository. Link: https://mail.gnome.org/archives/ostree-list/2017-October/msg00003.html Signed-off-by: Marcus Folkesson Closes: #1282 Approved by: cgwalters --- diff --git a/docs/manual/repo.md b/docs/manual/repo.md index abfc4911..7bf4cd5e 100644 --- a/docs/manual/repo.md +++ b/docs/manual/repo.md @@ -91,10 +91,10 @@ attributes, such as tmpfs. In contrast, the `archive` mode is designed for serving via plain HTTP. Like tar files, it can be read/written by non-root users. -On an OSTree-deployed system, the "system repository" is -`/ostree/repo`. It can be read by any uid, but only written by root. -Unless the `--repo` argument is given to the ostree -command, it will operate on the system repository. +On an OSTree-deployed system, the "system repository" is `/ostree/repo`. It can +be read by any uid, but only written by root. The `ostree` command will by +default operate on the system repository; you may provide the `--repo` argument +to override this, or set the `$OSTREE_REPO` environment variable. ## Refs