[PATCH 2/6][linux-signed][SRU Cosmic][SRU Bionic] UBUNTU: Use the correct source package name in Built-Using field
dann frazier
dann.frazier at canonical.com
Sat Apr 27 21:17:21 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 6c7d775..34a37c7 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 (= UNSIGNED_SRC_VERSION)
+Built-Using: UNSIGNED_SRC_PACKAGE (= UNSIGNED_SRC_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 (= UNSIGNED_SRC_VERSION)
+Built-Using: UNSIGNED_SRC_PACKAGE (= UNSIGNED_SRC_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 (= UNSIGNED_SRC_VERSION)
+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
Canonical's UEFI signing key. It is intended for the Debian installer,
diff --git a/debian/rules b/debian/rules
index 1f2083f..62c132c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,6 +18,7 @@ src_abi = $(shell echo "$(src_version)" | sed -ne 's/\([0-9]*\.[0-9]*\.[0-9]*\-[
pre-clean:
sed <debian/control.stub >debian/control \
-e "s/ABI/$(src_abi)/g" \
+ -e "s/UNSIGNED_SRC_PACKAGE/$(src_package)/g" \
-e "s/UNSIGNED_SRC_VERSION/$(src_version)/g"
rm -rf ./$(src_version) UNSIGNED SIGNED
rm -f debian/linux-image-*.install \
--
2.20.1
More information about the kernel-team
mailing list