From bc6d3c8d2533cbe2f5e766f452490c47159b910c Mon Sep 17 00:00:00 2001 From: Kyle McMartin Date: Tue, 21 May 2013 15:42:46 -0400 Subject: [PATCH] denoisy the rm -f of the modules.* files for depmod as well --- kernel.spec | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/kernel.spec b/kernel.spec index 19d74d029..cd5ac226a 100644 --- a/kernel.spec +++ b/kernel.spec @@ -1703,10 +1703,7 @@ BuildKernel() { %endif # 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 - do - rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/modules.$i - done + find $RPM_BUILD_ROOT/lib/modules/$KernelVer/modules.* -exec rm -f {} \; # Move the devel headers out of the root file system mkdir -p $RPM_BUILD_ROOT/usr/src/kernels @@ -2218,6 +2215,7 @@ fi * Tue May 21 2013 Kyle McMartin - Rewrite the modinfo license check to generate significantly less noise in build logs. +- Ditto for the modules.* removal. * Tue May 21 2013 Peter Robinson - Enable OMAP5 on ARM multiplatform