]>
git.proxmox.com Git - efi-boot-shim.git/blob - debian/rules
3 # Other vendors, add your certs here. No sense in using
4 # dpkg-vendor --derives-from, because only Canonical-generated binaries will
5 # be signed with this key; so if you are building your own shim binary you
6 # should be building the other binaries also.
7 ifeq ($(shell dpkg-vendor
--is ubuntu
&& echo yes
),yes
)
8 cert
=debian
/canonical-uefi-ca.der
11 cert
=debian
/debian-uefi-ca.der
15 ifeq ($(DEB_HOST_ARCH
),amd64
)
16 export EFI_ARCH
:= x64
24 VENDOR_CERT_FILE
=$(cert
) \
25 EFIDIR
=$(distributor
) \
31 override_dh_auto_clean
:
32 dh_auto_clean
-- MAKELEVEL
=0
35 override_dh_auto_build
:
36 dh_auto_build
-- $(COMMON_OPTIONS
)
38 override_dh_auto_install
:
39 dh_auto_install
--destdir
=debian
/tmp
-- $(COMMON_OPTIONS
)
43 chmod a-x debian
/shim
/usr
/lib
/shim
/shim
$(EFI_ARCH
).efi