aboutsummaryrefslogtreecommitdiffstats
path: root/debian/bin
diff options
context:
space:
mode:
authorLuca Boccassi <bluca@debian.org>2019-01-18 19:05:15 +0000
committerLuca Boccassi <bluca@debian.org>2019-01-18 20:57:32 +0000
commit380ff19d500ae2929ffaba851c4c8e8bc024340c (patch)
tree9947e4bbf34d8fdd04b6576f0c05a3549767ed4f /debian/bin
parent3cc965234cb7a2044969046660a280d2d05ee15a (diff)
downloadkernel_replicant_linux-380ff19d500ae2929ffaba851c4c8e8bc024340c.tar.gz
kernel_replicant_linux-380ff19d500ae2929ffaba851c4c8e8bc024340c.tar.bz2
kernel_replicant_linux-380ff19d500ae2929ffaba851c4c8e8bc024340c.zip
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.
Diffstat (limited to 'debian/bin')
-rwxr-xr-xdebian/bin/gencontrol.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/bin/gencontrol.py b/debian/bin/gencontrol.py
index 33e6715ee8e5..817d00739117 100755
--- a/debian/bin/gencontrol.py
+++ b/debian/bin/gencontrol.py
@@ -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' %