summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Boccassi <bluca@debian.org>2019-02-15 20:04:09 +0000
committerLuca Boccassi <bluca@debian.org>2019-02-15 21:26:05 +0000
commit9bfbee892ef31c624754ec2ad8ec624af438c10a (patch)
treeb1f89a067f619c58603bddd5ddd83112a5b2d086
parent8c00485c681da9d273920463a924982b2dbe649e (diff)
downloadefi-boot-shim-9bfbee892ef31c624754ec2ad8ec624af438c10a.tar.gz
efi-boot-shim-9bfbee892ef31c624754ec2ad8ec624af438c10a.zip
Include /usr/share/dpkg/architecture.mk instead of shelling out.
-rw-r--r--debian/changelog1
-rwxr-xr-xdebian/rules2
2 files changed, 2 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 57998026..b45b10b2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ shim (15+1533136590.3beb971-3) UNRELEASED; urgency=medium
[ Luca Boccassi ]
* Override lintian error about template rules file.
+ * Include /usr/share/dpkg/architecture.mk instead of shelling out.
-- Luca Boccassi <bluca@debian.org> Fri, 15 Feb 2019 19:50:10 +0000
diff --git a/debian/rules b/debian/rules
index ffd43e0b..f8c5f270 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,7 +13,7 @@ else
distributor=debian
endif
-DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+include /usr/share/dpkg/architecture.mk
ifeq ($(DEB_HOST_ARCH),amd64)
export EFI_ARCH := x64