From 2206b54fb0f9cec170c4ef0ce4ec48ba5448e7c6 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 9 Nov 2021 05:05:11 -0500 Subject: [PATCH] import kmod-25-18.el8 --- SOURCES/weak-modules | 2 +- SPECS/kmod.spec | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/SOURCES/weak-modules b/SOURCES/weak-modules index 7fbfe08..2b16275 100644 --- a/SOURCES/weak-modules +++ b/SOURCES/weak-modules @@ -1148,7 +1148,7 @@ while :; do shift done -if [ ! -x "$dracut" ] +if [ ! -x "$dracut" ] && [ -z "$no_initramfs" ] then echo "weak-modules: could not find dracut at $dracut" exit 1 diff --git a/SPECS/kmod.spec b/SPECS/kmod.spec index f12835b..bd95501 100644 --- a/SPECS/kmod.spec +++ b/SPECS/kmod.spec @@ -1,6 +1,6 @@ Name: kmod Version: 25 -Release: 17%{?dist} +Release: 18%{?dist} Summary: Linux kernel module management utilities Group: System Environment/Kernel @@ -125,6 +125,10 @@ install -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/depmod.d/dist.conf %{_libdir}/libkmod.so %changelog +* Fri Apr 16 2021 Yauheni Kaliuta - 25-18 +- weak-modules: do not require dracut wneh using --no-initramfs + Resolves: rhbz#1935416 + * Fri Dec 18 2020 Yauheni Kaliuta - 25-17 - weak-modules: reset compatible_modules if configuration is not valid Resolves: rhbz#1907855 @@ -280,7 +284,7 @@ install -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/depmod.d/dist.conf - Update to version 13 * Wed Mar 20 2013 Weiping Pan - 12-3 -- Pull in weak-modules for kABI from Jon Masters +- Pull in weak-modules for kABI from Jon Masters * Mon Mar 18 2013 Josh Boyer - Add patch to make rmmod understand built-in modules (rhbz 922187)