Tweak versioning in runtime dependencies

using substvars to make things more automatic in future.
This commit is contained in:
Steve McIntyre 2024-06-28 00:40:46 +01:00
parent 579934ab14
commit 1a43945677
3 changed files with 13 additions and 3 deletions

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
shim-signed (1.42) unstable; urgency=medium
* Tweak versioning in runtime dependencies, using substvars
to make things more automatic in future.
-- Steve McIntyre <93sam@debian.org> Fri, 28 Jun 2024 00:40:31 +0100
shim-signed (1.41) unstable; urgency=medium
* Build against new signed binaries corresponding to 15.8-1

4
debian/control vendored
View File

@ -20,9 +20,9 @@ Multi-Arch: same
Depends: ${misc:Depends},
shim-signed-common (>= ${source:Version}),
grub-efi-amd64-bin [amd64],
shim-helpers-amd64-signed (>= 1+15.4+2) [amd64],
shim-helpers-amd64-signed (>= ${helpers:Version}) [amd64],
grub-efi-arm64-bin [arm64],
shim-helpers-arm64-signed (>= 1+15.4+2) [arm64],
shim-helpers-arm64-signed (>= ${helpers:Version}) [arm64],
grub2-common (>= 2.06-6)
Built-Using: shim (= ${shim:Version})
Description: Secure Boot chain-loading bootloader (Microsoft-signed binary)

5
debian/rules vendored
View File

@ -2,6 +2,7 @@
VERSION := $(shell LC_ALL=C dpkg-parsechangelog | grep ^Version: | cut -d ' ' -f 2)
SHIM_VERSION := $(shell dpkg-query -f '$${Version}\n' -W shim-unsigned)
SHIM_HELPERS_VERSION := $(shell dpkg-query -f '$${Version}\n' -W 'shim-helpers-*-signed')
VENDOR := $(shell dpkg-vendor --query vendor)
include /usr/share/dpkg/architecture.mk
@ -33,4 +34,6 @@ endif
override_dh_gencontrol:
dh_gencontrol -- -v$(VERSION)+$(SHIM_VERSION) \
-Vshim:Version=$(SHIM_VERSION)
-Vshim:Version=$(SHIM_VERSION) \
-Vhelpers:Version=$(SHIM_HELPERS_VERSION)