Skip to content

Commit 6e3b554

Browse files
committed
dnf: update dnf.conf to add installonlypkgs to match entry in tdnf.conf
1 parent 128471b commit 6e3b554

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
diff -urpN dnf-4.19.0/etc/dnf/dnf.conf b/etc/dnf/dnf.conf
2+
--- dnf-4.19.0/etc/dnf/dnf.conf 2024-02-08 09:54:49.000000000 -0500
3+
+++ b/etc/dnf/dnf.conf 2025-02-21 12:50:10.373026978 -0500
4+
@@ -2,6 +2,7 @@
5+
6+
[main]
7+
gpgcheck=True
8+
+installonlypkgs=kernel kernel-mshv kernel-uvm kernel-uki kernel-64k kernel-lpg-innovate
9+
installonly_limit=3
10+
clean_requirements_on_remove=True
11+
best=False

SPECS/dnf/dnf.spec

+5-1
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@
33
Summary: Python 3 version of the DNF package manager.
44
Name: dnf
55
Version: 4.19.0
6-
Release: 1%{?dist}
6+
Release: 2%{?dist}
77
License: GPLv2+ OR GPL
88
Vendor: Microsoft Corporation
99
Distribution: Azure Linux
1010
URL: https://github.com/rpm-software-management/dnf
1111
#Source0: %{url}/archive/%{version}.tar.gz
1212
Source0: %{name}-%{version}.tar.gz
13+
Patch0: dnf-add-installonlypkgs-config.patch
1314
BuildRequires: bash-completion
1415
BuildRequires: cmake
1516
BuildRequires: gettext
@@ -151,6 +152,9 @@ popd
151152
%{python3_sitelib}/%{name}/automatic
152153

153154
%changelog
155+
* Fri Feb 21 2025 Dan Streetman <[email protected]> - 4.19.0-2
156+
- Add kernel-lpg-innovate to dnf.conf
157+
154158
* Mon Feb 26 2024 Sam Meluch <[email protected]> - 4.19.0-1
155159
- Upgrade to version 4.19.0 for Azure Linux 3.0
156160

0 commit comments

Comments
 (0)