man/rpm-ostree: Add override command

Add the missing docs for the recently promoted `override` command.

Also drop the `pkg-add` and `pkg-remove` mentions. I think `install` and
`uninstall` have pervaded enough by now that most people have probably
forgotten (or never learned) the legacy aliases. Let's just nuke them
from the man pages.

Closes: #1291
Approved by: cgwalters
This commit is contained in:
Jonathan Lebon 2018-03-07 21:03:33 +00:00 committed by Atomic Bot
parent 9d92684afb
commit ae91959e0e

View File

@ -211,7 +211,7 @@ Boston, MA 02111-1307, USA.
</varlistentry>
<varlistentry>
<term><command>install (pkg-add)</command></term>
<term><command>install</command></term>
<listitem>
<para>
@ -249,7 +249,7 @@ Boston, MA 02111-1307, USA.
</varlistentry>
<varlistentry>
<term><command>uninstall (pkg-remove)</command></term>
<term><command>uninstall</command></term>
<listitem>
<para>
@ -441,6 +441,37 @@ Boston, MA 02111-1307, USA.
</listitem>
</varlistentry>
<varlistentry>
<term><command>override</command></term>
<listitem>
<para>
Provides subcommands for overriding (modifying) the base
OSTree layer. Such modifications should be done with care
and are normally not intended to be long-lasting. For
example, one might replace a base package with its older
version to avoid a regression. Overrides are automatically
carried over during new deployments. The subcommands are:
</para>
<para>
<command>remove</command> to remove base packages.
</para>
<para>
<command>replace</command> to replace base packages.
Currently, only local RPM replacements are supported:
one must directly provide the RPMs to substitute in.
</para>
<para>
<command>reset</command> to reset previous overrides.
Currently, the full <literal>NEVRA</literal> of the target
packages must be specified.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><command>refresh-md</command></term>