[PATCH 2/4][linux-signed][SRU Cosmic][SRU Bionic] UBUNTU: Use the correct source package name in Built-Using field

dann frazier dann.frazier at canonical.com
Tue Apr 9 21:24:52 UTC 2019


BugLink: https://bugs.launchpad.net/bugs/1824016

Signed-off-by: dann frazier <dann.frazier at canonical.com>
---
 debian/control.stub | 6 +++---
 debian/rules        | 1 +
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/debian/control.stub b/debian/control.stub
index 3f546b6..50330a4 100644
--- a/debian/control.stub
+++ b/debian/control.stub
@@ -19,7 +19,7 @@ Recommends: ${unsigned:Recommends}
 Suggests: ${unsigned:Suggests}
 Conflicts: ${unsigned:Conflicts}
 Provides: ${unsigned:Provides}
-Built-Using: linux (= VERSION)
+Built-Using: PACKAGE (= VERSION)
 Description: Signed kernel image generic
  A kernel image for generic.  This version of it is signed with
  Canonical's UEFI/Opal signing key.
@@ -31,7 +31,7 @@ Recommends: ${unsigned:Recommends}
 Suggests: ${unsigned:Suggests}
 Conflicts: ${unsigned:Conflicts}
 Provides: ${unsigned:Provides}
-Built-Using: linux (= VERSION)
+Built-Using: PACKAGE (= VERSION)
 Description: Signed kernel image lowlatency
  A kernel image for lowlatency.  This version of it is signed with
  Canonical's UEFI signing key.
@@ -42,7 +42,7 @@ Section: debian-installer
 Priority: extra
 Provides: kernel-signed-image
 Architecture: amd64 ppc64el
-Built-Using: linux (= VERSION)
+Built-Using: PACKAGE (= VERSION)
 Description: Signed kernel image generic for the Debian installer
  A kernel image for generic.  This version of it is signed with
  Canonical's UEFI signing key.  It is intended for the Debian installer,
diff --git a/debian/rules b/debian/rules
index b9afe67..e50f01d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,6 +17,7 @@ src_abi = $(shell echo "$(src_version)" | sed -ne 's/\([0-9]*\.[0-9]*\.[0-9]*\-[
 # we have no binary files and we will not run the appropriate targets.
 pre-clean:
 	sed <debian/control.stub >debian/control			\
+		-e "s/PACKAGE/$(src_package)/g"				\
 		-e "s/ABI/$(src_abi)/g"					\
 		-e "s/VERSION/$(src_version)/g"
 	rm -rf ./$(src_version) UNSIGNED SIGNED
-- 
2.20.1




More information about the kernel-team mailing list