From ef06d4b22ab366842b56755e6bf12bd67b636a88 Mon Sep 17 00:00:00 2001 From: Josh Boyer Date: Wed, 31 Oct 2012 17:00:14 -0400 Subject: [PATCH] Fix sign-file permissions and invocation after switching from bash to perl --- kernel.spec | 7 ++++++- mod-extra-sign.sh | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/kernel.spec b/kernel.spec index 02205ad79..82df3f43a 100644 --- a/kernel.spec +++ b/kernel.spec @@ -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 +- Fix sign-file permissions and invocation after switching from bash to perl + * Wed Oct 31 2012 Josh Boyer - 3.7.0-0.rc3.git2.1 - Linux v3.7-rc3-44-g08f05c4 diff --git a/mod-extra-sign.sh b/mod-extra-sign.sh index a4b2c8cf7..9b24a4098 100755 --- a/mod-extra-sign.sh +++ b/mod-extra-sign.sh @@ -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}