summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSteve Langasek <vorlon@debian.org>2017-04-14 21:44:06 +0000
committerSteve McIntyre <steve@einval.com>2019-03-06 21:15:15 +0000
commitbf3018eb1399f512672127987fbc134e898d3102 (patch)
tree7d6f95ae8a61bb363e67e3001b7f8bfec86dfa60 /Makefile
downloadshim-signed-bf3018eb1399f512672127987fbc134e898d3102.tar.gz
shim-signed-bf3018eb1399f512672127987fbc134e898d3102.zip
Import Debian version 1.28debian/1.28
shim-signed (1.28) unstable; urgency=medium * Initial Debian upload, based on Ubuntu package.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..1d82b19
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,14 @@
+all:
+
+check:
+ mkdir -p build
+ # Verifying that the image is signed with the correct key.
+ sbverify --cert MicCorUEFCA2011_2011-06-27.crt shimx64.efi.signed
+ # Verifying that we have the correct binary.
+ sbattach --detach build/detached-sig shimx64.efi.signed
+ cp /usr/lib/shim/shimx64.efi build/shimx64.efi.signed
+ sbattach --attach build/detached-sig build/shimx64.efi.signed
+ cmp shimx64.efi.signed build/shimx64.efi.signed
+
+clean:
+ rm -rf build