[PATCH v2 1/6][linux-signed][SRU Cosmic][SRU Bionic] UBUNTU: Rename "VERSION" template string to more precise "UNSIGNED_SRC_VERSION"

dann frazier dann.frazier at canonical.com
Sat Apr 27 21:17:20 UTC 2019


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

I'll be adding UNSIGNED_SRC_PACKAGE in the next commit, so this will keep
the names consistent.

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

diff --git a/debian/control.stub b/debian/control.stub
index 3f546b6..6c7d775 100644
--- a/debian/control.stub
+++ b/debian/control.stub
@@ -9,7 +9,7 @@ Build-Depends:
  python3-apt,
 Build-Depends-Arch:
  sbsigntool [amd64],
- linux-libc-dev (>= VERSION),
+ linux-libc-dev (>= UNSIGNED_SRC_VERSION),
 Standards-Version: 3.9.4
 
 Package: linux-image-ABI-generic
@@ -19,7 +19,7 @@ Recommends: ${unsigned:Recommends}
 Suggests: ${unsigned:Suggests}
 Conflicts: ${unsigned:Conflicts}
 Provides: ${unsigned:Provides}
-Built-Using: linux (= VERSION)
+Built-Using: linux (= 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 (= VERSION)
+Built-Using: linux (= 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 (= VERSION)
+Built-Using: linux (= 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 b9afe67..1f2083f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,7 +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/VERSION/$(src_version)/g"
+		-e "s/UNSIGNED_SRC_VERSION/$(src_version)/g"
 	rm -rf ./$(src_version) UNSIGNED SIGNED
 	rm -f 	debian/linux-image-*.install				\
 		debian/linux-image-*.preinst 				\
-- 
2.20.1




More information about the kernel-team mailing list