summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve McIntyre <steve@einval.com>2021-04-30 21:07:15 +0100
committerSteve McIntyre <steve@einval.com>2021-04-30 21:07:15 +0100
commit827038320c0dd168edaa3f07f574b4c6bd4a4b35 (patch)
tree3d833bc1a571c8c2d463f8d34bab0617f95ce30d
parentc896b94830d41929ac6d7fc2f5ade67908a59b77 (diff)
downloadshim-signed-827038320c0dd168edaa3f07f574b4c6bd4a4b35.tar.gz
shim-signed-827038320c0dd168edaa3f07f574b4c6bd4a4b35.zip
Fix command-line arguments for dh_gencontrol
The arguments going to dh_gencontrol need to e before the -- , doh!
-rwxr-xr-xdebian/rules10
1 files changed, 5 insertions, 5 deletions
diff --git a/debian/rules b/debian/rules
index 7394161..48a8275 100755
--- a/debian/rules
+++ b/debian/rules
@@ -35,13 +35,13 @@ override_dh_gencontrol:
ifeq ($(DEB_HOST_ARCH),arm64)
# On arm64, substitute our package description with "not
# signed" warning at build time
- dh_gencontrol -- -v$(VERSION)+$(SHIM_VERSION) \
+ dh_gencontrol -pshim-signed -- \
+ -v$(VERSION)+$(SHIM_VERSION) \
-Vshim:Version=$(SHIM_VERSION) \
- -pshim-signed \
-DDescription="$$(cat debian/arm64.description)"
- dh_gencontrol -- -v$(VERSION)+$(SHIM_VERSION) \
- -Vshim:Version=$(SHIM_VERSION) \
- --remaining-packages
+ dh_gencontrol --remaining-packages -- \
+ -v$(VERSION)+$(SHIM_VERSION) \
+ -Vshim:Version=$(SHIM_VERSION)
else
dh_gencontrol -- -v$(VERSION)+$(SHIM_VERSION) \
-Vshim:Version=$(SHIM_VERSION)