diff options
| author | Steve McIntyre <steve@einval.com> | 2021-04-29 22:08:19 +0100 |
|---|---|---|
| committer | Steve McIntyre <steve@einval.com> | 2021-04-30 19:42:48 +0100 |
| commit | c668a2f9378eb89fa82678403f6e7739a159bfaf (patch) | |
| tree | e5f47caf5181688f646150bc0fd78bb09f2a0673 /debian/rules | |
| parent | f9e637f68667eaac0d48ef14785b529c5cb7b345 (diff) | |
| download | shim-signed-c668a2f9378eb89fa82678403f6e7739a159bfaf.tar.gz shim-signed-c668a2f9378eb89fa82678403f6e7739a159bfaf.zip | |
Tweak arm64 building a lot
And various other minor packaging tweaks
Add a different description at package build time to warn users that
shim-signed on arm64 is *not* actually signed. Add a doc link to the
wiki for more details.
Comment out a lintian override for arm64
Diffstat (limited to 'debian/rules')
| -rwxr-xr-x | debian/rules | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules index e23b521..0276fa2 100755 --- a/debian/rules +++ b/debian/rules @@ -31,5 +31,17 @@ override_dh_installdebconf: dh_installdebconf -p shim-signed-common 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) \ + -Vshim:Version=$(SHIM_VERSION) \ + -p shim-signed \ + -DDescription="$$(cat debian/arm64.description)" + dh_gencontrol -- -v$(VERSION)+$(SHIM_VERSION) \ + -Vshim:Version=$(SHIM_VERSION) \ + --remaining-packages +else dh_gencontrol -- -v$(VERSION)+$(SHIM_VERSION) \ -Vshim:Version=$(SHIM_VERSION) +endif |
