From 92ea93faafae553e501a108a85afb735f832bade Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Sun, 12 Feb 2012 17:05:14 +0100 Subject: [PATCH] fix infinite loop with softdeps --- kmod.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/kmod.spec b/kmod.spec index 430c38d..6e839d0 100644 --- a/kmod.spec +++ b/kmod.spec @@ -1,6 +1,6 @@ Name: kmod Version: 5 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Linux kernel module management utilities Group: System Environment/Kernel @@ -21,6 +21,7 @@ Provides: module-init-tools = 4.0-1 Obsoletes: module-init-tools < 4.0-1 Provides: /sbin/modprobe Patch1: 0001-libkmod-module-probe-Fix-ignore-loaded-flag-not-bein.patch +Patch2: 0001-libkmod-module-probe-fix-infinite-loop-with-softdeps.patch %description The kmod package provides various programs needed for automatic @@ -49,8 +50,10 @@ applications that wish to load or unload Linux kernel modules. %prep %setup -q %patch1 -p1 +%patch2 -p1 %build +export V=1 %configure \ --with-zlib \ --with-xz @@ -101,6 +104,9 @@ mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/modprobe.d %{_libdir}/libkmod.so %changelog +* Sun Feb 12 2012 Kay Sievers - 5-7 +- fix infinite loop with softdeps + * Thu Feb 09 2012 Harald Hoyer 5-6 - add upstream patch to fix "modprobe --ignore-install --show-depends" otherwise dracut misses a lot of modules, which are already loaded