Fix sign-file permissions and invocation after switching from bash to perl

This commit is contained in:
Josh Boyer 2012-10-31 17:00:14 -04:00
parent f06ee243c1
commit ef06d4b22a
2 changed files with 7 additions and 2 deletions

View File

@ -62,7 +62,7 @@ Summary: The Linux kernel
# 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"
#
%global baserelease 1
%global baserelease 2
%global fedora_build %{baserelease}
# base_sublevel is the kernel version we're starting with and patching
@ -1584,6 +1584,8 @@ BuildKernel() {
cp %{SOURCE11} .
%endif
chmod +x scripts/sign-file
Arch=`head -1 .config | cut -b 3-`
echo USING ARCH=$Arch
@ -2317,6 +2319,9 @@ fi
# ||----w |
# || ||
%changelog
* Wed Oct 31 2012 Josh Boyer <jwboyer@redhat.com>
- Fix sign-file permissions and invocation after switching from bash to perl
* Wed Oct 31 2012 Josh Boyer <jwboyer@redhat.com> - 3.7.0-0.rc3.git2.1
- Linux v3.7-rc3-44-g08f05c4

View File

@ -21,7 +21,7 @@ do
dir=`dirname $mod`
file=`basename $mod`
sh ./scripts/sign-file ${MODSECKEY} ${MODPUBKEY} ${dir}/${file} \
./scripts/sign-file ${MODSECKEY} ${MODPUBKEY} ${dir}/${file} \
${dir}/${file}.signed
mv ${dir}/${file}.signed ${dir}/${file}
rm -f ${dir}/${file}.{sig,dig}