summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2012-10-19 23:56:37 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2012-10-19 16:11:21 -0700
commitb37d1bfb55d4b8a7d234fad0a84dca3336cee50b (patch)
treecf3fd49e0e09086029efa662a6cd50bcfe68a6ef /Makefile
parent9e7814404b77c3e8920bee4277162bf3a7460505 (diff)
downloadlwn-b37d1bfb55d4b8a7d234fad0a84dca3336cee50b.tar.gz
lwn-b37d1bfb55d4b8a7d234fad0a84dca3336cee50b.zip
MODSIGN: perlify sign-file and merge in x509keyid
Turn sign-file into perl and merge in x509keyid. The latter doesn't need to be a separate script as it doesn't actually need to work out the SHA1 sum of the X.509 certificate itself, since it can get that from the X.509 certificate. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4fd82f7fc0bc..14b987431d92 100644
--- a/Makefile
+++ b/Makefile
@@ -723,7 +723,7 @@ ifeq ($(CONFIG_MODULE_SIG),y)
MODSECKEY = ./signing_key.priv
MODPUBKEY = ./signing_key.x509
export MODPUBKEY
-mod_sign_cmd = sh $(srctree)/scripts/sign-file $(MODSECKEY) $(MODPUBKEY) $(srctree)/scripts/x509keyid
+mod_sign_cmd = perl $(srctree)/scripts/sign-file $(MODSECKEY) $(MODPUBKEY)
else
mod_sign_cmd = true
endif