~ubuntu-branches/ubuntu/precise/shim-signed/precise-updates

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.signed
	# Verifying that we have the correct binary.
	sbattach --detach build/detached-sig shim.efi.signed 
	cp /usr/lib/shim/shim.efi build/shim.efi.signed
	sbattach --attach build/detached-sig build/shim.efi.signed
	cmp shim.efi.signed build/shim.efi.signed

clean:
	rm -rf build