Define Auto-Built-Package field when running dpkg-gencontrol

dpkg-source doesn't like to see it in debian/control.
This commit is contained in:
Ben Hutchings 2016-07-14 11:10:46 +01:00
parent 4e86887dda
commit 775cc1229e
3 changed files with 3 additions and 2 deletions

2
debian/changelog vendored
View File

@ -15,6 +15,8 @@ linux (4.7~rc7-1~exp1) UNRELEASED; urgency=medium
* [x86] KASLR, power: Remove x86 hibernation restrictions
* fanotify: Enable FANOTIFY_ACCESS_PERMISSIONS (Closes: #690737)
- Warn and taint kernel if this feature is actually used
* Define Auto-Built-Package field when running dpkg-gencontrol, as dpkg-source
doesn't like to see it in debian/control
[ Bastian Blank ]
* Mark debug symbols packages to move them into the debug archive.

2
debian/rules.real vendored
View File

@ -458,7 +458,7 @@ endif
ln -s boot/vmlinux-$(REAL_VERSION) $(DEBUG_DIR)/
mkdir -p $(DEBUG_DIR)/lib/modules/$(REAL_VERSION)
ln -s ../../../boot/vmlinux-$(REAL_VERSION) $(DEBUG_DIR)/lib/modules/$(REAL_VERSION)/vmlinux
+$(MAKE_SELF) install-base
+$(MAKE_SELF) install-base GENCONTROL_ARGS='-DAuto-Built-Package=debug-symbols'
install-udeb_$(ARCH): export KW_DEFCONFIG_DIR=debian/installer
install-udeb_$(ARCH): export KW_CONFIG_DIR=debian/installer/$(ARCH)

View File

@ -3,7 +3,6 @@ Build-Profiles: <!stage1>
Depends: ${misc:Depends}
Section: debug
Priority: extra
Auto-Built-Package: debug-symbols
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@.