blob: 06443ef099f0556040ed71bcfdb398ec7cb9bea6 (
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 shim$(EFI_ARCH).efi.signed
# Verifying that we have the correct binary.
sbattach --detach build/detached-sig shim$(EFI_ARCH).efi.signed
cp /usr/lib/shim/shim$(EFI_ARCH).efi build/shim$(EFI_ARCH).efi.signed
sbattach --attach build/detached-sig build/shim$(EFI_ARCH).efi.signed
cmp shim$(EFI_ARCH).efi.signed build/shim$(EFI_ARCH).efi.signed
clean:
rm -rf build
|