diff mbox series

[1/4,linux-signed,Disco] UBUNTU: Use the correct source package name in Built-Using field

Message ID 20190409212454.20353-2-dann.frazier@canonical.com
State New
Headers show
Series Correct source package in Built-Using control field | expand

Commit Message

dann frazier April 9, 2019, 9:24 p.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1824016

Signed-off-by: dann frazier <dann.frazier@canonical.com>
---
 debian/control.stub | 8 ++++----
 debian/rules        | 1 +
 2 files changed, 5 insertions(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/debian/control.stub b/debian/control.stub
index 049add0..457b058 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.
@@ -43,7 +43,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 snapdragon
  A kernel image for snapdragon.  This version of it is signed with
  Canonical's UEFI/Opal signing key.
@@ -54,7 +54,7 @@  Section: debian-installer
 Priority: extra
 Provides: kernel-signed-image
 Architecture: amd64 arm64 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 20b16d7..8a01aad 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