Fix sign-file permissions and invocation after switching from bash to perl
This commit is contained in:
parent
f06ee243c1
commit
ef06d4b22a
@ -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
|
||||||
@ -1584,6 +1584,8 @@ BuildKernel() {
|
|||||||
cp %{SOURCE11} .
|
cp %{SOURCE11} .
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
chmod +x scripts/sign-file
|
||||||
|
|
||||||
Arch=`head -1 .config | cut -b 3-`
|
Arch=`head -1 .config | cut -b 3-`
|
||||||
echo USING ARCH=$Arch
|
echo USING ARCH=$Arch
|
||||||
|
|
||||||
@ -2317,6 +2319,9 @@ fi
|
|||||||
# ||----w |
|
# ||----w |
|
||||||
# || ||
|
# || ||
|
||||||
%changelog
|
%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
|
* Wed Oct 31 2012 Josh Boyer <jwboyer@redhat.com> - 3.7.0-0.rc3.git2.1
|
||||||
- Linux v3.7-rc3-44-g08f05c4
|
- Linux v3.7-rc3-44-g08f05c4
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ do
|
|||||||
dir=`dirname $mod`
|
dir=`dirname $mod`
|
||||||
file=`basename $mod`
|
file=`basename $mod`
|
||||||
|
|
||||||
sh ./scripts/sign-file ${MODSECKEY} ${MODPUBKEY} ${dir}/${file} \
|
./scripts/sign-file ${MODSECKEY} ${MODPUBKEY} ${dir}/${file} \
|
||||||
${dir}/${file}.signed
|
${dir}/${file}.signed
|
||||||
mv ${dir}/${file}.signed ${dir}/${file}
|
mv ${dir}/${file}.signed ${dir}/${file}
|
||||||
rm -f ${dir}/${file}.{sig,dig}
|
rm -f ${dir}/${file}.{sig,dig}
|
||||||
|
Loading…
Reference in New Issue
Block a user