Skip to content

Commit

Permalink
prepare-root: Fix composefs docs
Browse files Browse the repository at this point in the history
In practice in ostree-sysroot-deploy.c we only react to having
`composefs = yes`; the docs mention `maybe` but that never did
anything.

The value is wrong in the code too, but I'm not touching
that here to avoid conflating changes - the main thing to fix
is the docs because here `maybe == no`.

Signed-off-by: Colin Walters <[email protected]>
  • Loading branch information
cgwalters committed Nov 4, 2024
1 parent ab8a7f7 commit f3fdf2e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions man/ostree-prepare-root.xml
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,11 @@ License along with this library. If not, see <https://www.gnu.org/licenses/>.
</varlistentry>
<varlistentry>
<term><varname>composefs.enabled</varname></term>
<listitem><para>This can be <literal>yes</literal>, <literal>no</literal>. <literal>maybe</literal> or
<literal>signed</literal>. The default is <literal>maybe</literal>. If set to <literal>yes</literal> or
<listitem><para>This can be <literal>yes</literal>, <literal>no</literal>, <literal>maybe</literal>,
or <literal>signed</literal>. The default is <literal>no</literal>. If set to <literal>yes</literal> or
<literal>signed</literal>, then composefs is always used, and the boot fails if it is not
available. Additionally if set to <literal>signed</literal>, boot will fail if the image cannot be
validated by a public key. If set to <literal>maybe</literal>, then composefs is used if supported.
validated by a public key. Setting this to <literal>maybe</literal> is currently equivalent to <literal>no</literal>.
</para></listitem>
</varlistentry>
<varlistentry>
Expand Down

0 comments on commit f3fdf2e

Please sign in to comment.