summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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