Don't add linux-source to d/control when source: false
With the recent refactor, setting source: false in debian/config/defines is no longer enough to disable the linux-source-$ver package build, as dh_listpackages is used to determine what is built. Do not add linux-source-$ver to d/control if it is disabled.
This commit is contained in:
parent
3cc965234c
commit
380ff19d50
|
@ -177,6 +177,9 @@ class Gencontrol(Base):
|
|||
if self.config.merge('packages').get('tools-versioned', True):
|
||||
packages.extend(self.process_packages(
|
||||
self.templates["control.tools-versioned"], self.vars))
|
||||
if self.config.merge('packages').get('source', True):
|
||||
packages.extend(self.process_packages(
|
||||
self.templates["control.sourcebin"], self.vars))
|
||||
|
||||
self._substitute_file('perf.lintian-overrides', self.vars,
|
||||
'debian/linux-perf-%s.lintian-overrides' %
|
||||
|
|
|
@ -1,3 +1,10 @@
|
|||
linux (4.19.16-2) UNRELEASED; urgency=medium
|
||||
|
||||
* Do not generate linux-source-$ver stanza in debian/control if
|
||||
source is set to disabled in debian/config/defines.
|
||||
|
||||
-- Luca Boccassi <bluca@debian.org> Fri, 18 Jan 2019 19:09:06 +0000
|
||||
|
||||
linux (4.19.16-1) unstable; urgency=medium
|
||||
|
||||
* New upstream stable update:
|
||||
|
|
|
@ -1,19 +1,3 @@
|
|||
Package: @source_basename@-source-@version@
|
||||
Build-Profiles: <!stage1 !pkg.linux.nosource>
|
||||
Architecture: all
|
||||
Section: kernel
|
||||
Build-Depends: patchutils
|
||||
Depends: binutils, xz-utils, ${misc:Depends}
|
||||
Recommends: libc6-dev | libc-dev, gcc, make, bc, @source_basename@-config-@version@
|
||||
Suggests: libncurses-dev | ncurses-dev, libqt4-dev, pkg-config
|
||||
Multi-Arch: foreign
|
||||
Description: Linux kernel source for version @version@ with Debian patches
|
||||
This package provides source code for the Linux kernel version @version@.
|
||||
This source closely tracks official Linux kernel releases. Debian's
|
||||
modifications to that source consist of security fixes, bug fixes, and
|
||||
features that have already been (or are believed to be) accepted by the
|
||||
upstream maintainers.
|
||||
|
||||
Package: @source_basename@-support-@abiname@
|
||||
Build-Profiles: <!stage1>
|
||||
Architecture: all
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
Package: @source_basename@-source-@version@
|
||||
Build-Profiles: <!stage1 !pkg.linux.nosource>
|
||||
Architecture: all
|
||||
Section: kernel
|
||||
Build-Depends: patchutils
|
||||
Depends: binutils, xz-utils, ${misc:Depends}
|
||||
Recommends: libc6-dev | libc-dev, gcc, make, bc, @source_basename@-config-@version@
|
||||
Suggests: libncurses-dev | ncurses-dev, libqt4-dev, pkg-config
|
||||
Multi-Arch: foreign
|
||||
Description: Linux kernel source for version @version@ with Debian patches
|
||||
This package provides source code for the Linux kernel version @version@.
|
||||
This source closely tracks official Linux kernel releases. Debian's
|
||||
modifications to that source consist of security fixes, bug fixes, and
|
||||
features that have already been (or are believed to be) accepted by the
|
||||
upstream maintainers.
|
Loading…
Reference in New Issue