docs: add additional details about 'tmp-is-dir'

Expanded the details around using 'tmp-is-dir' and what happens when
it is used.

Closes: #1315
Approved by: dustymabe
This commit is contained in:
Micah Abbott 2018-03-26 17:07:09 +00:00 committed by Atomic Bot
parent 835c3ad303
commit 0399e185e4

View File

@ -191,11 +191,12 @@ It supports the following parameters:
Example: `"add-files": [["bar", "/bar"], ["foo", "/foo"]]`
* `tmp-is-dir`: boolean, optional: Defaults to `false`. By default,
rpm-ostree creates symlink `/tmp``/sysroot/tmp`.
It's more flexible to leave it as a directory (systemd will mount it),
and further, we don't want to encourage `/sysroot` to be writable.
For host system composes, we recommend turning this on; it's left off
by default to ease the transition.
rpm-ostree creates symlink `/tmp``sysroot/tmp`. When set to `true`,
`/tmp` will be a regular directory, which allows the `systemd` unit
`tmp.mount` to mount it as `tmpfs`. It's more flexible to leave it
as a directory, and further, we don't want to encourage `/sysroot`
to be writable. For host system composes, we recommend turning this on;
it's left off by default to ease the transition.
Experimental options
--------