denoisy the rm -f of the modules.* files for depmod as well

This commit is contained in:
Kyle McMartin 2013-05-21 15:42:46 -04:00
parent c772218ae0
commit bc6d3c8d25

View File

@ -1703,10 +1703,7 @@ BuildKernel() {
%endif %endif
# remove files that will be auto generated by depmod at rpm -i time # remove files that will be auto generated by depmod at rpm -i time
for i in alias alias.bin builtin.bin ccwmap dep dep.bin ieee1394map inputmap isapnpmap ofmap pcimap seriomap symbols symbols.bin usbmap devname softdep find $RPM_BUILD_ROOT/lib/modules/$KernelVer/modules.* -exec rm -f {} \;
do
rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/modules.$i
done
# Move the devel headers out of the root file system # Move the devel headers out of the root file system
mkdir -p $RPM_BUILD_ROOT/usr/src/kernels mkdir -p $RPM_BUILD_ROOT/usr/src/kernels
@ -2218,6 +2215,7 @@ fi
* Tue May 21 2013 Kyle McMartin <kyle@redhat.com> * Tue May 21 2013 Kyle McMartin <kyle@redhat.com>
- Rewrite the modinfo license check to generate significantly less noise in - Rewrite the modinfo license check to generate significantly less noise in
build logs. build logs.
- Ditto for the modules.* removal.
* Tue May 21 2013 Peter Robinson <pbrobinson@fedoraproject.org> * Tue May 21 2013 Peter Robinson <pbrobinson@fedoraproject.org>
- Enable OMAP5 on ARM multiplatform - Enable OMAP5 on ARM multiplatform