From 1058c7fb4f2053f282cc6fca42ec8faf718f997c Mon Sep 17 00:00:00 2001 From: Mario Limonciello Date: Thu, 9 Aug 2018 12:41:44 -0500 Subject: [PATCH] trivial: debian: use a virtual package to resolve the signed package On Debian this will be fwupd-$ARCH-signed, on Ubuntu it's a real package called fwupd-signed. --- contrib/debian/control.in | 2 +- contrib/debian/signing-template/control | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/debian/control.in b/contrib/debian/control.in index 5c72b6178..24c33e385 100644 --- a/contrib/debian/control.in +++ b/contrib/debian/control.in @@ -33,7 +33,7 @@ Architecture: linux-any Depends: ${misc:Depends}, ${shlibs:Depends} Recommends: python3, - fwupd-amd64-signed [amd64] | fwupd-i386-signed [i386] | fwupd-armhf-signed [armhf] | fwupd-arm64-signed [arm64] | fwupd-signed + fwupd-signed Breaks: gir1.2-dfu-1.0 (<< 0.9.7-1), libdfu1 (<< 0.9.7-1), libdfu-dev (<< 0.9.7-1) diff --git a/contrib/debian/signing-template/control b/contrib/debian/signing-template/control index b78164965..70282f73c 100644 --- a/contrib/debian/signing-template/control +++ b/contrib/debian/signing-template/control @@ -12,6 +12,7 @@ Vcs-Browser: https://salsa.debian.org/efi-team/fwupd Package: fwupd-SIGNARCH-signed Section: admin Architecture: SIGNARCH +Provides: fwupd-signed Depends: ${shlibs:Depends}, ${misc:Depends}, fwupd (= SIGNVERSION) Description: Tools to manage UEFI firmware updates (signed) fwupd provides functionality to update system firmware. It has been