Prep mod-extra.sh for signed modules
This commit is contained in:
parent
0b4338630c
commit
7e6e483520
@ -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 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
|
||||||
@ -2262,6 +2262,7 @@ fi
|
|||||||
%changelog
|
%changelog
|
||||||
* Tue Sep 25 2012 Josh Boyer <jwboyer@redhat.com>
|
* Tue Sep 25 2012 Josh Boyer <jwboyer@redhat.com>
|
||||||
- Move the modules-extra processing to a script
|
- Move the modules-extra processing to a script
|
||||||
|
- Prep mod-extra.sh for signed modules
|
||||||
|
|
||||||
* Tue Sep 25 2012 Josh Boyer <jwboyer@redhat.com> - 3.6.0-0.rc7.git1.2
|
* Tue Sep 25 2012 Josh Boyer <jwboyer@redhat.com> - 3.6.0-0.rc7.git1.2
|
||||||
- Update team driver from net-next from Jiri Pirko
|
- Update team driver from net-next from Jiri Pirko
|
||||||
|
14
mod-extra.sh
14
mod-extra.sh
@ -61,6 +61,20 @@ do
|
|||||||
mv $mod $newpath
|
mv $mod $newpath
|
||||||
done
|
done
|
||||||
|
|
||||||
|
popd
|
||||||
|
|
||||||
|
# If we're signing modules, we can't leave the .mod files for the .ko files
|
||||||
|
# we've moved in .tmp_versions/. Remove them so the Kbuild 'modules_sign'
|
||||||
|
# target doesn't try to sign a non-existent file. This is kinda ugly, but
|
||||||
|
# so is modules-extra.
|
||||||
|
|
||||||
|
for mod in `cat ${Dir}/dep2.list`
|
||||||
|
do
|
||||||
|
modfile=`basename $mod | sed -e 's/.ko/.mod/'`
|
||||||
|
rm .tmp_versions/$modfile
|
||||||
|
done
|
||||||
|
|
||||||
|
pushd $Dir
|
||||||
rm modnames dep.list dep2.list req.list req2.list
|
rm modnames dep.list dep2.list req.list req2.list
|
||||||
rm mod-extra.list mod-extra2.list mod-extra3.list
|
rm mod-extra.list mod-extra2.list mod-extra3.list
|
||||||
popd
|
popd
|
||||||
|
Loading…
Reference in New Issue
Block a user