linux/debian/bin
Ben Hutchings fdd6dadb4a Use dh_listpackages to determine which packages to build
The packages we should build are restricted by:

* Package configuration in debian/config (limits which binary packages are
  included in debian/control)
* Architecture (specified per package in debian/templates/control.* and
  then in debian/control)
* Build profile (specified per package in debian/templates/control.* and
  then in debian/control)

The logic for these restrictions is currently repeated in
debian/rules.real, but sometimes it becomes inconsistent with
debian/control (as with my recent changes for libbpf).

dh_listpackages reads debian/control and filters it by the current
host architecture and build profiles, so that it reliably reports
which packages we should build.

Therefore:

* Replace the logic in debian/rules.real with checks for package names
  in the output of dh_listpackages
* Remove the redundant flag variables passed by debian/rules and
  debian/rules.gen
* Remove the special-casing of stage1 in debian/rules and
  debian/rules.gen
2019-01-01 18:29:56 +00:00
..
abiupdate.py Fix pycodestyle "line break after binary operator" warnings 2018-12-28 15:35:38 +00:00
buildcheck.py Fix pycodestyle "line break after binary operator" warnings 2018-12-28 15:35:38 +00:00
check-patches.sh Move featureset patches and series file to debian/patches-<featureset>. 2018-09-13 01:52:52 +01:00
debian_linux debian/bin, debian/rules.real: Add symlink to Python package directory instead of editing path 2018-10-01 21:41:58 +01:00
fix-shebang fix-shebang: Use the correct operation for comparing strings 2018-08-25 23:15:18 +01:00
gencontrol.py Use dh_listpackages to determine which packages to build 2019-01-01 18:29:56 +00:00
gencontrol_signed.py Fix pycodestyle "line break after binary operator" warnings 2018-12-28 15:35:38 +00:00
genorig.py debian/bin, debian/rules.real: Add symlink to Python package directory instead of editing path 2018-10-01 21:41:58 +01:00
genpatch-aufs Move all patch generation scripts to debian/bin 2018-09-13 01:52:36 +01:00
genpatch-lockdown debian/bin, debian/lib/python: Clean up imports based on pyflakes report 2018-10-01 21:45:55 +01:00
genpatch-rt debian/bin, debian/lib/python: Clean up imports based on pyflakes report 2018-10-01 21:45:55 +01:00
getconfig.py debian/bin, debian/rules.real: Add symlink to Python package directory instead of editing path 2018-10-01 21:41:58 +01:00
git-tag-gpg-wrapper [rt] genpatch.py: Verify tag and tarball signatures 2017-01-25 04:30:46 +00:00
kconfig.py Fix pycodestyle "inalid escape sequence" warnings 2018-12-28 15:35:50 +00:00
no-depmod Install /lib/modules/<kernel-version>/modules.builtin in linux-image packages 2012-01-07 22:08:58 +00:00
stable-update debian/bin, debian/rules.real: Add symlink to Python package directory instead of editing path 2018-10-01 21:41:58 +01:00
stable-update.sh stable-update: Rewrite stable-update.sh in Python 2016-05-06 21:37:36 +01:00
test-patches test-patches: allow to automatically determine flavour for rc and bpo kernels 2018-11-08 22:43:04 +01:00