Fix kmod.prov to deal with compressed modules (#1096349)
This commit is contained in:
parent
121c2fa889
commit
1767166dd5
@ -4,7 +4,7 @@ IFS=$'\n'
|
|||||||
|
|
||||||
for i in $(grep -E '(/lib/modules/.*\.ko|/lib/modules/.*/modules.builtin)');
|
for i in $(grep -E '(/lib/modules/.*\.ko|/lib/modules/.*/modules.builtin)');
|
||||||
do
|
do
|
||||||
kmod=$(basename $i);
|
kmod=$(basename $i | sed -e 's/.[xg]z//');
|
||||||
|
|
||||||
if [ $kmod == "modules.builtin" ]; then
|
if [ $kmod == "modules.builtin" ]; then
|
||||||
for j in $(cat $i); do
|
for j in $(cat $i); do
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Summary: Red Hat specific rpm configuration files
|
Summary: Red Hat specific rpm configuration files
|
||||||
Name: redhat-rpm-config
|
Name: redhat-rpm-config
|
||||||
Version: 21
|
Version: 22
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
# No version specified.
|
# No version specified.
|
||||||
License: GPL+
|
License: GPL+
|
||||||
@ -135,6 +135,9 @@ install -p -m 755 -t %{buildroot}%{_rpmconfigdir} kmod.prov
|
|||||||
%{_rpmconfigdir}/macros.d/macros.kmp
|
%{_rpmconfigdir}/macros.d/macros.kmp
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon May 12 2014 Josh Boyer <jwboyer@fedoraproject.org> - 22-1
|
||||||
|
- Fix kmod.prov to deal with compressed modules (#1096349)
|
||||||
|
|
||||||
* Wed Apr 30 2014 Jens Petersen <petersen@redhat.com> - 21-1
|
* Wed Apr 30 2014 Jens Petersen <petersen@redhat.com> - 21-1
|
||||||
- macros.ghc-srpm moved to ghc-rpm-macros package (#1089102)
|
- macros.ghc-srpm moved to ghc-rpm-macros package (#1089102)
|
||||||
- add requires ghc-srpm-macros
|
- add requires ghc-srpm-macros
|
||||||
|
Loading…
Reference in New Issue
Block a user