Move the dlm module to modules-extra and do additional cleanup (rhbz 811547)

This commit is contained in:
Josh Boyer 2012-04-20 16:46:56 -04:00
parent b16a74b08a
commit 1caa16e278
2 changed files with 18 additions and 8 deletions

View File

@ -62,7 +62,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 1 %global baserelease 2
%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
@ -1771,11 +1771,21 @@ BuildKernel() {
for mod in `echo $depends | sed -e 's/,/ /g'` for mod in `echo $depends | sed -e 's/,/ /g'`
do do
match=`grep "^$mod.ko" mod-extra.list` ||: match=`grep "^$mod.ko" mod-extra.list` ||:
if [ -n "$match" ] if [ -z "$match" ]
then then
continue continue
else else
echo $mod.ko >> req.list # check if the module we're looking at is in mod-extra too. if so
# we don't need to mark the dep as required
mod2=`basename $dep`
match2=`grep "^$mod2" mod-extra.list` ||:
if [ -n "$match2" ]
then
continue
#echo $mod2 >> notreq.list
else
echo $mod.ko >> req.list
fi
fi fi
done done
done done
@ -2313,6 +2323,9 @@ fi
# ||----w | # ||----w |
# || || # || ||
%changelog %changelog
* Fri Apr 20 2012 Josh Boyer <jwboyer@redhat.com>
- Move the dlm module to modules-extra and do additional cleanup (rhbz 811547)
* Fri Apr 20 2012 Justin M. Forbes <jforbes@redhat.com> - 3.4.0-0.rc3.git4.1 * Fri Apr 20 2012 Justin M. Forbes <jforbes@redhat.com> - 3.4.0-0.rc3.git4.1
- Linux v3.4-rc3-89-gc6f5c93 - Linux v3.4-rc3-89-gc6f5c93

View File

@ -32,7 +32,6 @@ l2tp_eth.ko
l2tp_ip.ko l2tp_ip.ko
l2tp_netlink.ko l2tp_netlink.ko
l2tp_ppp.ko l2tp_ppp.ko
llc.ko
ipx.ko ipx.ko
appletalk.ko appletalk.ko
ipddp.ko ipddp.ko
@ -90,6 +89,8 @@ mptbase.ko
mptctl.ko mptctl.ko
mptfc.ko mptfc.ko
i2400m.ko i2400m.ko
i2400m-usb.ko
i2400m-sdio.ko
hisax.ko hisax.ko
hysdn.ko hysdn.ko
isdn.ko isdn.ko
@ -142,9 +143,6 @@ umc.ko
uwb.ko uwb.ko
whci.ko whci.ko
hwa-rc.ko hwa-rc.ko
uio.ko
uio_aec.ko
uio_pci_generic.ko
gfs2.ko gfs2.ko
ocfs2.ko ocfs2.ko
ocfs2_dlm.ko ocfs2_dlm.ko
@ -173,7 +171,6 @@ ksdazzle-sir.ko
ma600-sir.ko ma600-sir.ko
mcp2120-sir.ko mcp2120-sir.ko
toim3232-sir.ko toim3232-sir.ko
pps_core.ko
tpm_atmel.ko tpm_atmel.ko
tpm_infineon.ko tpm_infineon.ko
tpm_nsc.ko tpm_nsc.ko