summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorMathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>2017-08-29 13:55:31 -0400
committerMathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>2017-08-29 13:55:31 -0400
commitab881f03a3d8b1b6007103eefd1a5ad1342cb83f (patch)
tree12b0c1bcb795952e8024e2b7c7667ec56229f5ae /debian/rules
parent48d77ce60605698c2fc8fb92c6891ba76d3415c6 (diff)
downloadefi-boot-shim-ab881f03a3d8b1b6007103eefd1a5ad1342cb83f.tar.gz
efi-boot-shim-ab881f03a3d8b1b6007103eefd1a5ad1342cb83f.zip
New upstream version 12+1503074702.5202f80
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules31
1 files changed, 0 insertions, 31 deletions
diff --git a/debian/rules b/debian/rules
deleted file mode 100755
index f35661c1..00000000
--- a/debian/rules
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/usr/bin/make -f
-
-# Other vendors, add your certs here. No sense in using
-# dpkg-vendor --derives-from, because only Canonical-generated binaries will
-# be signed with this key; so if you are building your own shim binary you
-# should be building the other binaries also.
-ifeq ($(shell dpkg-vendor --is ubuntu && echo yes),yes)
- cert=debian/canonical-uefi-ca.der
-else
- cert=debian/debian-uefi-ca.der
-endif
-
-ifeq ($(DEB_HOST_ARCH),amd64)
-export EFI_ARCH := x64
-endif
-
-%:
- dh $@ --parallel
-
-override_dh_auto_clean:
- dh_auto_clean -- MAKELEVEL=0
-override_dh_auto_build:
- dh_auto_build -- \
- MAKELEVEL=0 \
- EFI_PATH=/usr/lib \
- DEFAULT_LOADER='\\\\grub$(EFI_ARCH).efi' \
- VENDOR_CERT_FILE=$(cert)
-
-override_dh_fixperms:
- dh_fixperms
- chmod a-x debian/shim/usr/lib/shim/shim$(EFI_ARCH).efi