keys: cleanup build time module signing keys
authorNayna Jain <nayna@linux.ibm.com>
Fri, 9 Apr 2021 14:35:05 +0000 (10:35 -0400)
committerMimi Zohar <zohar@linux.ibm.com>
Fri, 9 Apr 2021 14:40:15 +0000 (10:40 -0400)
The "mrproper" target is still looking for build time generated keys in
the kernel root directory instead of certs directory. Fix the path and
remove the names of the files which are no longer generated.

Fixes: cfc411e7fff3 ("Move certificate handling to its own directory")
Signed-off-by: Nayna Jain <nayna@linux.ibm.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Makefile

index a28bb374663d2cb0ae7f462370bb0173b0ef1388..eb6a0c68aee6e9329c86aaeba32bcce9db7aad2d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1523,9 +1523,9 @@ MRPROPER_FILES += include/config include/generated          \
                  debian snap tar-install \
                  .config .config.old .version \
                  Module.symvers \
-                 signing_key.pem signing_key.priv signing_key.x509     \
-                 x509.genkey extra_certificates signing_key.x509.keyid \
-                 signing_key.x509.signer vmlinux-gdb.py \
+                 certs/signing_key.pem certs/signing_key.x509 \
+                 certs/x509.genkey \
+                 vmlinux-gdb.py \
                  *.spec
 
 # Directories & files removed with 'make distclean'