Change names and descriptions of debug symbol packages to match debhelper

This commit is contained in:
Ben Hutchings 2016-07-14 11:12:16 +01:00
parent 619cd907a8
commit 6d39ffde84
5 changed files with 7 additions and 7 deletions

View File

@ -497,7 +497,7 @@ class Gencontrol(Base):
'debian/%s.%s' % (image_main['Package'], name))
if build_debug:
self._substitute_file('image-dbg.lintian-override', vars,
'debian/linux-image-%s%s-dbg.lintian-overrides' %
'debian/linux-image-%s%s-dbgsym.lintian-overrides' %
(vars['abiname'], vars['localversion']))
def process_changelog(self):

2
debian/changelog vendored
View File

@ -19,6 +19,8 @@ linux (4.7~rc7-1~exp1) UNRELEASED; urgency=medium
doesn't like to see it in debian/control
* debian/lib/python/debian_linux/debian.py: Handle packages with only short
descriptions
* Change names and descriptions of linux-image debug symbol packages to match
debhelper
[ Bastian Blank ]
* Mark debug symbols packages to move them into the debug archive.

2
debian/rules.real vendored
View File

@ -426,7 +426,7 @@ install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR)_bug:
printf "RELEASE='$(REAL_VERSION)'\nDISTRIBUTOR='$(DISTRIBUTOR)'\nSOURCEVERSION='$(SOURCEVERSION)'\nPACKAGE_NAME='$(PACKAGE_NAME)'\nPACKAGE_VERSION='$(SOURCEVERSION)'" > $(PACKAGE_DIR)/usr/share/bug/$(PACKAGE_NAME)/info
install-image-dbg_$(ARCH)_$(FEATURESET)_$(FLAVOUR): REAL_VERSION = $(ABINAME)$(LOCALVERSION)
install-image-dbg_$(ARCH)_$(FEATURESET)_$(FLAVOUR): PACKAGE_NAME = linux-image-$(REAL_VERSION)-dbg
install-image-dbg_$(ARCH)_$(FEATURESET)_$(FLAVOUR): PACKAGE_NAME = linux-image-$(REAL_VERSION)-dbgsym
install-image-dbg_$(ARCH)_$(FEATURESET)_$(FLAVOUR): PACKAGE_DIR = debian/$(PACKAGE_NAME)
install-image-dbg_$(ARCH)_$(FEATURESET)_$(FLAVOUR): DEBUG_DIR = $(PACKAGE_DIR)/usr/lib/debug
install-image-dbg_$(ARCH)_$(FEATURESET)_$(FLAVOUR): DIR = $(BUILD_DIR)/build_$(ARCH)_$(FEATURESET)_$(FLAVOUR)

View File

@ -1,8 +1,6 @@
Package: linux-image-@abiname@@localversion@-dbg
Package: linux-image-@abiname@@localversion@-dbgsym
Build-Profiles: <!stage1>
Depends: ${misc:Depends}
Section: debug
Priority: extra
Description: Debugging symbols for Linux @abiname@@localversion@
This package provides the detached debugging symbols for the Linux kernel
and modules in linux-image-@abiname@@localversion@.
Description: Debug symbols for linux-image-@abiname@@localversion@

View File

@ -1,2 +1,2 @@
# Kernel dbg packages contain a full image with debug data
linux-image-@abiname@@localversion@-dbg: dbg-package-missing-depends
linux-image-@abiname@@localversion@-dbgsym: dbg-package-missing-depends