Move the depmod file removal below the compat-wireless build to make sure we

clean them all out
This commit is contained in:
Josh Boyer 2012-01-05 13:38:54 -05:00
parent be19a69e8c
commit ac403a617c

View File

@ -1791,12 +1791,6 @@ BuildKernel() {
rm mod-extra.list mod-extra2.list mod-extra3.list rm mod-extra.list mod-extra2.list mod-extra3.list
popd popd
# 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
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
mv $RPM_BUILD_ROOT/lib/modules/$KernelVer/build $RPM_BUILD_ROOT/$DevelDir mv $RPM_BUILD_ROOT/lib/modules/$KernelVer/build $RPM_BUILD_ROOT/$DevelDir
@ -1820,6 +1814,13 @@ BuildKernel() {
cd - cd -
%endif %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
do
rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/modules.$i
done
} }
### ###
@ -2286,6 +2287,10 @@ fi
# ||----w | # ||----w |
# || || # || ||
%changelog %changelog
* Thu Jan 05 2012 Josh Boyer <jwboyer@redhat.com>
- Move the depmod file removal below the compat-wireless build to make sure we
clean them all out
* Thu Jan 05 2012 Dave Jones <davej@redhat.com> * Thu Jan 05 2012 Dave Jones <davej@redhat.com>
- CONFIG_DEBUG_SET_MODULE_RONX should always be set. - CONFIG_DEBUG_SET_MODULE_RONX should always be set.