mod-extras: Don't fail the build if a module is listed that isn't built

This commit is contained in:
Josh Boyer 2011-12-13 10:01:29 -05:00
parent 98db752ff8
commit d496e06781

View File

@ -54,7 +54,7 @@ Summary: The Linux kernel
# For non-released -rc kernels, this will be appended after the rcX and # For non-released -rc kernels, this will be appended after the rcX and
# gitX tags, so a 3 here would become part of release "0.rcX.gitX.3" # gitX tags, so a 3 here would become part of release "0.rcX.gitX.3"
# #
%global baserelease 2 %global baserelease 3
%global fedora_build %{baserelease} %global fedora_build %{baserelease}
# base_sublevel is the kernel version we're starting with and patching # base_sublevel is the kernel version we're starting with and patching
@ -1739,7 +1739,7 @@ BuildKernel() {
for mod in `cat mod-extra3.list` for mod in `cat mod-extra3.list`
do do
# get the path for the module # get the path for the module
modpath=`grep /$mod modnames` modpath=`grep /$mod modnames` ||:
[ -z "$modpath" ] && continue; [ -z "$modpath" ] && continue;
echo $modpath >> dep.list echo $modpath >> dep.list
done done
@ -2229,6 +2229,9 @@ fi
# ||----w | # ||----w |
# || || # || ||
%changelog %changelog
* Tue Dec 13 2011 Josh Boyer <jwboyer@redhat.com>
- mod-extras: Don't fail the build if a module is listed that isn't built
* Mon Dec 12 2011 John W. Linville <linville@redhat.com> * Mon Dec 12 2011 John W. Linville <linville@redhat.com>
- Turn-off backports until TAINT_OOT_MODULE issue is resolved - Turn-off backports until TAINT_OOT_MODULE issue is resolved