Message ID | 20191203222657.1152249-12-seth.forshee@canonical.com |
---|---|
State | New |
Headers | show |
Series | [REVIEW,1/3,linux-signed] UBUNTU: [Packaging] Set source package name from the changelog | expand |
On Tue, Dec 03, 2019 at 04:26:45PM -0600, Seth Forshee wrote: > 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@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 Why not SRCPKGNAME like the primary package? -apw
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@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 \
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@canonical.com> --- debian/control.stub | 2 +- debian/rules | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-)