summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>2017-08-29 22:21:11 -0400
committerMathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>2017-08-29 22:21:11 -0400
commitf841331ca35ec67599457bb1cd102a0f6a195025 (patch)
treefcc5b27ecd2a3b6f34bf5aa062ab8151a764e021
parentee22d4255df975c59181e9258c1919cff227d68b (diff)
downloadefi-boot-shim-f841331ca35ec67599457bb1cd102a0f6a195025.tar.gz
efi-boot-shim-f841331ca35ec67599457bb1cd102a0f6a195025.zip
Update dh_auto_build/dh_auto_clean/dh_auto_install for new upstream options: set MAKELEVEL.
-rw-r--r--debian/changelog4
-rwxr-xr-xdebian/rules3
2 files changed, 5 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index bbfa72b7..55f902e3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,8 +3,8 @@ shim (12+1503074702.5202f80-0ubuntu1) UNRELEASED; urgency=medium
* New upstream snapshot: 12+1503074702.5202f80.
* debian/control: add a Build-Depends on libnss3-tools for pk12-util.
* debian/rules:
- - Update dh_auto_build/dh_auto_clean for new upstream options: set
- MAKELEVEL.
+ - Update dh_auto_build/dh_auto_clean/dh_auto_install for new upstream
+ options: set MAKELEVEL.
- Define an EFI_ARCH variable, and use that for paths to shim. This
makes it possible to build a shim for other architectures than amd64.
- Set ENABLE_SHIM_CERT, to keep using ephemeral self-signed certs built
diff --git a/debian/rules b/debian/rules
index 0403988b..179d09a8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -29,6 +29,9 @@ override_dh_auto_build:
ENABLE_SBSIGN=1 \
VENDOR_CERT_FILE=$(cert)
+override_dh_auto_install:
+ dh_auto_install -- MAKELEVEL=0
+
override_dh_fixperms:
dh_fixperms
chmod a-x debian/shim/usr/lib/shim/shim$(EFI_ARCH).efi