doc: --disableexcludepkgs=all
doesn't affect just file configuration
Resolves: RHEL-28779
This commit is contained in:
parent
fda0bde8e9
commit
a0ecbb0097
@ -0,0 +1,39 @@
|
||||
From be3f218b6964116bc2948a9b7b93247322dc979f Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Ale=C5=A1=20Mat=C4=9Bj?= <amatej@redhat.com>
|
||||
Date: Thu, 12 Dec 2024 12:59:03 +0100
|
||||
Subject: [PATCH] doc: `--disableexcludepkgs=all` doesn't affect just file
|
||||
configuration
|
||||
|
||||
The option `--disableexcludepkgs=all` disables all configuration
|
||||
includes and excludes including packages specified on the commandline
|
||||
via `--exclude=`, `-x=`, the deprecated `--excludepkgs=` and file
|
||||
configuration via `--excludepkgs=`, `--includepkgs=`.
|
||||
---
|
||||
doc/command_ref.rst | 9 +++++----
|
||||
1 file changed, 5 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/doc/command_ref.rst b/doc/command_ref.rst
|
||||
index 36817c00..75ded68c 100644
|
||||
--- a/doc/command_ref.rst
|
||||
+++ b/doc/command_ref.rst
|
||||
@@ -165,12 +165,13 @@ Options
|
||||
.. _disableexcludes-label:
|
||||
|
||||
``--disableexcludes=[all|main|<repoid>], --disableexcludepkgs=[all|main|<repoid>]``
|
||||
+ Disable ``excludepkgs`` and ``includepkgs`` configuration options. Takes one of the following three options:
|
||||
|
||||
- Disable the configuration file excludes. Takes one of the following three options:
|
||||
+ * ``all``, disables all ``excludepkgs`` and ``includepkgs`` configurations
|
||||
+ * ``main``, disables ``excludepkgs`` and ``includepkgs`` defined in the ``[main]`` section
|
||||
+ * ``repoid``, disables ``excludepkgs`` and ``includepkgs`` defined for the given repository
|
||||
|
||||
- * ``all``, disables all configuration file excludes
|
||||
- * ``main``, disables excludes defined in the ``[main]`` section
|
||||
- * ``repoid``, disables excludes defined for the given repository
|
||||
+ Note that the \-\ :ref:`-exclude <exclude_option-label>` option appends to the ``[main]`` ``excludepkgs`` configuration and therefore is disabled when ``main`` or ``all`` is specified.
|
||||
|
||||
``--disable, --set-disabled``
|
||||
Disable specified repositories (automatically saves). The option has to be used together with the
|
||||
--
|
||||
2.46.2
|
||||
|
7
dnf.spec
7
dnf.spec
@ -69,7 +69,7 @@ It supports RPMs, modules and comps groups & environments.
|
||||
|
||||
Name: dnf
|
||||
Version: 4.14.0
|
||||
Release: 23%{?dist}
|
||||
Release: 24%{?dist}
|
||||
Summary: %{pkg_summary}
|
||||
# For a breakdown of the licensing, see PACKAGE-LICENSING
|
||||
License: GPLv2+
|
||||
@ -112,6 +112,7 @@ Patch34: 0034-automatic-emitters-send-error-messages.patch
|
||||
Patch35: 0035-automatic-Enhance-errors-reporting.patch
|
||||
Patch36: 0036-Update-need_reboot-for-dnf-automatic.patch
|
||||
Patch37: 0037-automatic-Fix-incorrect-Error-class-instantiation.patch
|
||||
PAtch38: 0038-doc-disableexcludepkgs-all-doesn-t-affect-just-file.patch
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: cmake
|
||||
@ -400,6 +401,10 @@ popd
|
||||
%{python3_sitelib}/%{name}/automatic/
|
||||
|
||||
%changelog
|
||||
* Mon Jan 13 2025 Ales Matej <amatej@redhat.com> - 4.14.0-24
|
||||
- doc: `--disableexcludepkgs=all` doesn't affect just file configuration
|
||||
(RHEL-28779)
|
||||
|
||||
* Thu Dec 12 2024 Marek Blaha <mblaha@redhat.com> - 4.14.0-23
|
||||
- automatic: Update need_reboot to match needs-restarting (RHEL-62830)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user