[REVIEW 1/3][linux-signed] UBUNTU: [Packaging] Set source package name from the changelog
Seth Forshee
seth.forshee at canonical.com
Tue Dec 3 22:26:45 UTC 2019
To ease transitioning the source package name, set the name in
the control file from the name in the topmost changelog entry.
Signed-off-by: Seth Forshee <seth.forshee at canonical.com>
---
debian/control.stub | 2 +-
debian/rules | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/debian/control.stub b/debian/control.stub
index f91e9976f401..cada6c9a795b 100644
--- a/debian/control.stub
+++ b/debian/control.stub
@@ -1,4 +1,4 @@
-Source: linux-signed
+Source: SIGNED_SRC_PACKAGE
Section: kernel
Priority: optional
Maintainer: Canonical Kernel Team <kernel-team at lists.ubuntu.com>
diff --git a/debian/rules b/debian/rules
index 2af6d4f6d5c8..743f764fb284 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,7 +20,8 @@ pre-clean:
sed <debian/control.stub >debian/control \
-e "s/ABI/$(abi)/g" \
-e "s/UNSIGNED_SRC_PACKAGE/$(unsigned_src)/g" \
- -e "s/UNSIGNED_SRC_VERSION/$(unsigned_ver)/g"
+ -e "s/UNSIGNED_SRC_VERSION/$(unsigned_ver)/g" \
+ -e 's/SIGNED_SRC_PACKAGE/$(src)/g'
rm -rf ./$(unsigned_ver) UNSIGNED SIGNED
rm -f debian/linux-image-*.install \
debian/linux-image-*.preinst \
--
2.24.0
More information about the kernel-team
mailing list