fix infinite loop with softdeps

This commit is contained in:
Kay Sievers 2012-02-12 17:05:14 +01:00
parent 76aac60664
commit 92ea93faaf

View File

@ -1,6 +1,6 @@
Name: kmod Name: kmod
Version: 5 Version: 5
Release: 6%{?dist} Release: 7%{?dist}
Summary: Linux kernel module management utilities Summary: Linux kernel module management utilities
Group: System Environment/Kernel Group: System Environment/Kernel
@ -21,6 +21,7 @@ Provides: module-init-tools = 4.0-1
Obsoletes: module-init-tools < 4.0-1 Obsoletes: module-init-tools < 4.0-1
Provides: /sbin/modprobe Provides: /sbin/modprobe
Patch1: 0001-libkmod-module-probe-Fix-ignore-loaded-flag-not-bein.patch Patch1: 0001-libkmod-module-probe-Fix-ignore-loaded-flag-not-bein.patch
Patch2: 0001-libkmod-module-probe-fix-infinite-loop-with-softdeps.patch
%description %description
The kmod package provides various programs needed for automatic The kmod package provides various programs needed for automatic
@ -49,8 +50,10 @@ applications that wish to load or unload Linux kernel modules.
%prep %prep
%setup -q %setup -q
%patch1 -p1 %patch1 -p1
%patch2 -p1
%build %build
export V=1
%configure \ %configure \
--with-zlib \ --with-zlib \
--with-xz --with-xz
@ -101,6 +104,9 @@ mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/modprobe.d
%{_libdir}/libkmod.so %{_libdir}/libkmod.so
%changelog %changelog
* Sun Feb 12 2012 Kay Sievers <kay@redhat.com> - 5-7
- fix infinite loop with softdeps
* Thu Feb 09 2012 Harald Hoyer <harald@redhat.com> 5-6 * Thu Feb 09 2012 Harald Hoyer <harald@redhat.com> 5-6
- add upstream patch to fix "modprobe --ignore-install --show-depends" - add upstream patch to fix "modprobe --ignore-install --show-depends"
otherwise dracut misses a lot of modules, which are already loaded otherwise dracut misses a lot of modules, which are already loaded