[PATCH linux-signed][EOAN] UBUNTU: enable secureboot signing on s390x.

Dimitri John Ledkov xnox at ubuntu.com
Tue Jul 16 00:03:02 UTC 2019


Bug-Link: https://bugs.launchpad.net/bugs/1829749

Signed-off-by: Dimitri John Ledkov <xnox at ubuntu.com>
---
 debian/control.stub | 6 +++---
 debian/rules        | 8 +++++++-
 2 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/debian/control.stub b/debian/control.stub
index a4b98d6..b998763 100644
--- a/debian/control.stub
+++ b/debian/control.stub
@@ -13,7 +13,7 @@ Build-Depends-Arch:
 Standards-Version: 3.9.4
 
 Package: linux-image-ABI-generic
-Architecture: amd64 arm64 ppc64el
+Architecture: amd64 arm64 ppc64el s390x
 Depends: ${unsigned:Depends}
 Recommends: ${unsigned:Recommends}
 Suggests: ${unsigned:Suggests}
@@ -41,7 +41,7 @@ Package-Type: udeb
 Section: debian-installer
 Priority: extra
 Provides: kernel-signed-image
-Architecture: amd64 arm64 ppc64el
+Architecture: amd64 arm64 ppc64el s390x
 Built-Using: UNSIGNED_SRC_PACKAGE (= UNSIGNED_SRC_VERSION)
 Description: Signed kernel image generic for the Debian installer
  A kernel image for generic.  This version of it is signed with
@@ -50,7 +50,7 @@ Description: Signed kernel image generic for the Debian installer
 
 Package: linux-image-ABI-generic-dbgsym
 Section: devel
-Architecture: amd64 arm64 ppc64el
+Architecture: amd64 arm64 ppc64el s390x
 Depends: linux-image-unsigned-ABI-generic-dbgsym
 Description: Signed kernel image generic
  A link to the debugging symbols for the generic signed kernel.
diff --git a/debian/rules b/debian/rules
index 69f2678..da653f0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -60,7 +60,13 @@ override_dh_auto_build:
 			[ ! -f "$$s" ] && continue;				\
 			chmod 600 "$$s";					\
 			base=$$(echo "$$s" | sed -e 's/.opal.sig//');		\
-			cat "$$base.opal" "$$s" >"../SIGNED/$$base";\
+			cat "$$base.opal" "$$s" >"../SIGNED/$$base";		\
+		done								\
+		for s in *.sipl.sig; do						\
+			[ ! -f "$$s" ] && continue;				\
+			chmod 600 "$$s";					\
+			base=$$(echo "$$s" | sed -e 's/.sipl.sig//');		\
+			cat "$$base.sipl" "$$s" >"../SIGNED/$$base";		\
 		done								\
 	)
 
-- 
2.20.1




More information about the kernel-team mailing list