docs: mention the $OSTREE_REPO environment variable
authorMarcus Folkesson <marcus.folkesson@gmail.com>
Tue, 17 Oct 2017 19:03:23 +0000 (21:03 +0200)
committerAtomic Bot <atomic-devel@projectatomic.io>
Wed, 18 Oct 2017 00:56:36 +0000 (00:56 +0000)
$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 <marcus.folkesson@gmail.com>
Closes: #1282
Approved by: cgwalters

docs/manual/repo.md

index abfc4911023418981d3c5a9547a7e1d340700851..7bf4cd5e47fb0631c865e5c14da2cf1f63e77735 100644 (file)
@@ -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 <command>ostree</command>
-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