blob: 1d82b194275d1646bb607322464042de78ff7478 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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
|