fix infinite loop with softdeps
This commit is contained in:
parent
76aac60664
commit
92ea93faaf
@ -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 <kay@redhat.com> - 5-7
|
||||
- fix infinite loop with softdeps
|
||||
|
||||
* Thu Feb 09 2012 Harald Hoyer <harald@redhat.com> 5-6
|
||||
- add upstream patch to fix "modprobe --ignore-install --show-depends"
|
||||
otherwise dracut misses a lot of modules, which are already loaded
|
||||
|
Loading…
Reference in New Issue
Block a user