diff mbox series

[v2,1/2,linux-signed,SRU,Disco] UBUNTU: Rename "VERSION" template string to more precise "UNSIGNED_SRC_VERSION"

Message ID 20190411215058.9640-2-dann.frazier@canonical.com
State New
Headers show
Series Fix Built-Using package name | expand

Commit Message

dann frazier April 11, 2019, 9:50 p.m. UTC
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@canonical.com>
---
 debian/control.stub | 8 ++++----
 debian/rules        | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)
diff mbox series

Patch

diff --git a/debian/control.stub b/debian/control.stub
index 13be911..49e720f 100644
--- a/debian/control.stub
+++ b/debian/control.stub
@@ -9,7 +9,7 @@  Build-Depends:
  python3-apt,
 Build-Depends-Arch:
  sbsigntool [amd64 arm64],
- 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 arm64 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 20b16d7..fa73f42 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 				\