Skip to content

Commit

Permalink
doc: Add enviroment variables and clarify options for loading the plu…
Browse files Browse the repository at this point in the history
…gins

Ammend dnf5(8) manual regarding loading plugins and distinguish
between library and application plugins.

Fixes: #1445
  • Loading branch information
ppisar authored and pkratoch committed Apr 26, 2024
1 parent 34380cd commit 4a05cfb
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions doc/dnf5.8.rst
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ Following options are applicable in the general context for any ``dnf5`` command
| Data are saved in ``./debugdata``.
``--disable-plugin=PLUGIN_NAME,...``
| Disable specified plugins for the purpose of the current ``DNF5`` command.
| Disable specified libdnf5 library plugins for the purpose of the current ``DNF5`` command.
| This is a list option which can be specified multiple times.
| Accepted values are names, or a glob of names.
Expand All @@ -227,7 +227,7 @@ Following options are applicable in the general context for any ``dnf5`` command
| Print variable values to stdout.
``--enable-plugin=PLUGIN_NAME,...``
| Enable specified plugins for the purpose of the current ``DNF5`` command.
| Enable specified libdnf5 library plugins for the purpose of the current ``DNF5`` command.
| This is a list option which can be specified multiple times.
| Accepted values are names, or a glob of names.
Expand Down Expand Up @@ -263,7 +263,7 @@ Following options are applicable in the general context for any ``dnf5`` command
| Skip checking GPG signatures on packages (if ``RPM`` policy allows that).
``--no-plugins``
| Disable all plugins.
| Disable all libdnf5 plugins.
``-q, --quiet``
In combination with a non-interactive command, shows just the relevant content.
Expand Down Expand Up @@ -389,6 +389,17 @@ Files
/usr/lib/sysimage/libdnf5/


Environment
===========

``DNF5_PLUGINS_DIR``
Override a directory with DNF5 application plugins. Set it to an empty
string to disable loading the application plugins.

``LIBDNF_PLUGINS_CONFIG_DIR``
Override a directory with libdnf5 plugin's configuration files.


See Also
========

Expand Down

0 comments on commit 4a05cfb

Please sign in to comment.