From a492013fb26645704ed95c6218a422d28a67f852 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Thu, 25 Apr 2024 17:24:13 +0200 Subject: [PATCH] doc: Add enviroment variables and clarify options for loading the plugins Ammend dnf5(8) manual regarding loading plugins and distinguish between library and application plugins. Fixes: #1445 --- doc/dnf5.8.rst | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/doc/dnf5.8.rst b/doc/dnf5.8.rst index 789b21b52..1c3f2a002 100644 --- a/doc/dnf5.8.rst +++ b/doc/dnf5.8.rst @@ -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. @@ -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. @@ -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. @@ -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 ========