@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Canonical Kernel Team <kernel-team@lists.ubuntu.com>
Build-Depends: debhelper (>= 9)
Build-Depends-Arch:
- @UNSIGNED_SRC_PACKAGE@ (>= @UNSIGNED_SRC_VERSION@),
+ @UNSIGNED_SRC_PACKAGE@ (>= @UNSIGNED_SRC_VERSION@) [amd64],
python3,
python3-apt,
Standards-Version: 3.9.4
@@ -12,13 +12,13 @@ Standards-Version: 3.9.4
Package: linux-image-uc22-generic
Architecture: amd64
Depends: linux-firmware, wireless-regdb, linux-modules-@ABI@-generic, linux-modules-extra-@ABI@-generic
-Description: Signed UC22 kernel image generic
+Description: UC22 kernel image generic
A kernel image for generic UC22. This version of it is signed with
- Canonical's UEFI signing key.
+ Canonical's UEFI signing key on amd64.
Package: linux-image-uc22-lowlatency
Architecture: amd64
Depends: linux-firmware, wireless-regdb, linux-modules-@ABI@-lowlatency
-Description: Signed UC22 kernel image generic
- A kernel image for generic UC22. This version of it is signed with
- Canonical's UEFI signing key.
+Description: UC22 kernel image lowlatency
+ A kernel image for lowlatency UC22. This version of it is signed with
+ Canonical's UEFI signing key on amd64.
@@ -1,5 +1,7 @@
#! /usr/bin/make -f
+include /usr/share/dpkg/default.mk
+
SOURCE=$(shell dpkg-parsechangelog -S Source)
VERSION=$(shell dpkg-parsechangelog -S Version)
ABI=$(shell echo "$(VERSION)" | sed -ne 's/\([0-9]*\.[0-9]*\.[0-9]*\-[0-9]*\)\..*/\1/p')
@@ -28,6 +30,7 @@ debian/control:
%:
dh $@
+ifneq (,$(filter $(DEB_HOST_ARCH), amd64))
override_dh_auto_build:
./download-signed "linux-uc22" "$(UNSIGNED_VER)" "$(UNSIGNED_SRC)"
mkdir SIGNED
@@ -56,3 +59,4 @@ override_dh_auto_install:
override_dh_fixperms:
dh_fixperms -X/boot/
+endif
Only attempt signing on amd64, and update descriptions to state that. Also update lowlatency kernel to state correct flavour name. Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com> --- debian/control.stub | 12 ++++++------ debian/rules | 4 ++++ 2 files changed, 10 insertions(+), 6 deletions(-)