Commit Graph

13630 Commits

Author SHA1 Message Date
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
Ben Hutchings 46fcfa88d1 [ia64,m68k] libbpf: Really don't build on architectures without perf events
The architecture filtering needs to be done in debian/rules.real as well.
2019-01-01 16:38:41 +00:00
Ben Hutchings 3f9bd54247 Fix mangled patch "Build with -ffreestanding on m68k ..." 2018-12-31 19:42:29 +00:00
Ben Hutchings 127ba927a9 Merge branch 'm68k-sid' into 'sid'
[m68k] Add patch to build with -ffreestanding to fix FTBFS

See merge request kernel-team/linux!94
2018-12-30 18:41:56 +00:00
John Paul Adrian Glaubitz ce458bb4d5 [m68k] Add patch to build with -ffreestanding to fix FTBFS 2018-12-30 10:31:31 +01:00
Salvatore Bonaccorso 77c3f59731 Prepare to release linux (4.19.13-1). 2018-12-30 10:04:03 +01:00
Salvatore Bonaccorso fae8df0f68 Update to 4.19.13
Drop iomap-Revert-fs-iomap.c-get-put-the-page-in-iomap_pa.patch

Drop usb-hso-fix-oob-memory-access-in-hso_probe-hso_get_config_data.patch

Add bug closer for #917569

Cleanup debian/changelog file
2018-12-29 14:21:52 +01:00
Ben Hutchings f8450c79c8 Fix pycodestyle "inalid escape sequence" warnings 2018-12-28 15:35:50 +00:00
Ben Hutchings a54c09f109 Fix pycodestyle "line break after binary operator" warnings 2018-12-28 15:35:38 +00:00
Ben Hutchings 32af5cef75 debian/lib/python/debian_linux/debian.py: Fix deprecated import of MutableSet
Python 3.7 warns:

.../debian/lib/python/debian_linux/debian.py:403: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
  class PackageArchitecture(collections.MutableSet):
2018-12-28 15:35:29 +00:00
Romain Perier 5b89c3198f [rt] Update to 4.19.10-rt8 2018-12-28 10:04:16 +01:00
Salvatore Bonaccorso 1c972fdf40 Update patch headers with git-format-patch-for-debian
Gbp-Dch: Ignore
2018-12-27 09:12:24 +01:00
Salvatore Bonaccorso 7fb96c41ce USB: hso: Fix OOB memory access in hso_probe/hso_get_config_data (CVE-2018-19985) 2018-12-27 09:00:59 +01:00
Ben Hutchings 217f4b61cc Add Forwarded field to powerpcspe build fix 2018-12-26 15:36:48 +00:00
Ben Hutchings 130a6a563b [riscv64] tools uapi: fix RISC-V 64-bit support
Apply Aurelien's patch instead of mine.
2018-12-26 01:44:33 +00:00
Ben Hutchings 6a75ed21c7 [powerpcspe] Fix -mcpu= options for SPE-only compiler 2018-12-26 00:06:02 +00:00
Ben Hutchings 562a1601c8 [powerpc,powerpcspe,ppc64] linux-config: Eliminate config.*_bootwrapper.gz files
On powerpc architectures that may use a bootwrapper, we create a
temporary build_<arch>_<featureset>_<flavour>_bootwrapper directory
for each kernel configuration to hold the related tools which we won't
install for real (because they are always native).

This directory is then matched by the wildcard used in building
linux-config, causing linux-config packages to contain spurious
(empty) kconfig files based on these directories in addition to the
real kconfig files.

Rename the temporary directory to avoid matching that wildcard.
2018-12-25 23:20:03 +00:00
Ben Hutchings 64e3d0683d [riscv64] tools/include/.../bitsperlong.h: Add support for riscv 2018-12-25 23:02:20 +00:00
Ben Hutchings 01f97819f6 [ia64,m68k] libbpf: Don't build on architectures without performance events 2018-12-25 23:01:57 +00:00
Ben Hutchings 248736d493 linux-image-*-unsigned: Remove Provides field (Closes: #916927)
In unstable, linux-image-*-unsigned packages and any corresponding
metapackage updates tend to be available a few hours before the
corresponding signed packages.  An automatic upgrade with aptitude (at
least) may then install the unsigned kernel where a signed kernel
was previously used, resulting in boot failure.

I gave the linux-image-*-unsigned packages a Provides relation to the
unsuffixed (i.e. signed) package name because I thought packages built
by module-assistant generally depended on the corresponding kernel
package.  That may have been true once but doesn't appear to be so
now.

So the Provides field can be harmful and doesn't appear to be useful,
and should be removed.
2018-12-25 20:00:34 +00:00
Ben Hutchings b051222e6d Change Origin fields for ena patches from bare commit hashes to URLs 2018-12-25 19:51:45 +00:00
Uwe Kleine-König 96ff8f1ba0 [armhf] enable some kconfig items for Allwinner SoCs 2018-12-23 17:31:16 +01:00
Salvatore Bonaccorso 4097f88361 Prepare to release linux (4.19.12-1). 2018-12-22 09:06:46 +01:00
Salvatore Bonaccorso 6886800dea iomap: Revert "fs/iomap.c: get/put the page in iomap_page_create/release()" 2018-12-21 23:14:53 +01:00
Salvatore Bonaccorso be9c4f49fd debian/changelog: Add back one relevant entry ("fs/iomap.c: get/put the page in iomap_page_create/release()")
This patch needs to be reverted for now as per upstream in
https://git.kernel.org/linus/a837eca2412051628c0529768c9bc4f3580b040e

Gbp-Dch: Ignore
2018-12-21 23:06:36 +01:00
Salvatore Bonaccorso deffeeeace Add ABI reference for 4.19.0-1 (mipsel)
Gbp-Dch: Ignore
2018-12-21 21:53:47 +01:00
Salvatore Bonaccorso 3c623d29c0 Update to 4.19.12
Cleanup debian/changelog file
2018-12-21 21:37:20 +01:00
Romain Perier 9237824a62 Remove not-enabled features from changelog 2018-12-20 12:22:49 +01:00
Salvatore Bonaccorso db819723ea Add ABI reference for 4.19.0-1 (mips64el)
Gbp-Dch: Ignore
2018-12-20 08:55:52 +01:00
Salvatore Bonaccorso 6d099e7212 Update to 4.19.11
Drop ARM-dts-bcm2837-Fix-polarity-of-wifi-reset-GPIOs.patch

Cleanup debian/changelog file
2018-12-20 08:51:48 +01:00
Salvatore Bonaccorso cb0da679fb Add ABI reference for 4.19.0-1 (sh4)
Gbp-Dch: Ignore
2018-12-20 07:46:13 +01:00
Salvatore Bonaccorso d0a65d63da Add ABI reference for 4.19.0-1 (hppa, mips)
Gbp-Dch: Ignore
2018-12-19 05:53:06 +01:00
Bastian Blank 27af619b3a Ignore various ABI changes 2018-12-18 21:40:24 +01:00
Bastian Blank a484545688 Merge branch 'noahm/linux-4.19.5+ena202' into sid
Backport Amazon ENA ethernet driver version 2.0.2 from Linux 4.20

See merge request kernel-team/linux!77
2018-12-18 21:14:09 +01:00
Bastian Blank 68fcddf0f3 Merge branch 'master' into sid 2018-12-18 20:36:28 +01:00
Uwe Kleine-König 12e23cb061 [arm] Fix reset polarity of the wifi device on Raspberry Pi 3 2018-12-18 20:32:51 +01:00
Ben Hutchings d19f7ed1a4 linux-perf: Fix installation directories for BPF headers and examples
Closes: #916774
2018-12-18 17:20:51 +00:00
Ben Hutchings aaa2152dc5 linux-perf: Fix build-time check for unversioned files
The current check has never worked because the find -path predicate
matches against the whole path, including the given root.  In this
case that is $DESTDIR which always includes the version string.
Change to use cd before find.

Also, check all non-directories rather than all entries with "perf" in
the name.
2018-12-18 17:04:08 +00:00
Uwe Kleine-König c18b281129 [rt] rebase to 4.19.10 and reenable 2018-12-18 11:31:23 +01:00
Romain Perier 2f81bf67dc [rt] Disable rt until the patchset reapply onto 4.19.10 2018-12-18 11:05:05 +01:00
Romain Perier 718d2285c2 Update to 4.19.10 2018-12-18 10:45:45 +01:00
Uwe Kleine-König 9fdbef722e Merge branch 'sid' of https://salsa.debian.org/kernel-team/linux 2018-12-18 09:04:41 +01:00
Noah Meyerhans 3024a2d70d drivers/net/ethernet/amazon: Backport v2.0.2 from Linux 4.20
Backport Amazon ENA ethernet driver version 2.0.2 from Linux 4.20

This mostly ammounts to cherry-picking the commits in the range described by
git log v4.19.5..v4.20-rc7 drivers/net/ethernet/amazon

Change e641e99f261f5203a911a9e0db54a214460d2cc4 introduced changes outside the
ena directory, but only removed a redundant #include and was trivial to scope
down.

Upstream dealt with merge conflicts in
d864991b220b7c62e81d21209e1fd978fd67352c; the resolution here was identical to
upstream.
2018-12-17 23:47:08 -08:00
Salvatore Bonaccorso 26bc4db99f Add ABI reference for 4.19.0-1 (except not yet build architectures)
Gbp-Dch: Ignore
2018-12-18 06:48:18 +01:00
Uwe Kleine-König a48b719088 [arm] Fix probing of 3rd gpio device on Armada 370. 2018-12-17 11:30:59 +01:00
Bastian Blank 9b22ee4b80 Prepare to release linux (4.19.9-1) 2018-12-16 19:46:40 +01:00
Bastian Blank ddc3772e93 Enable EFI_BOOTLOADER_CONTROL, EFI_CAPSULE_LOADER 2018-12-16 18:38:21 +01:00
Bastian Blank f027037f86 [x86] Enable DRM_XEN_FRONTEND 2018-12-16 18:23:38 +01:00
Bastian Blank 443f43fdf3 Enable netfilter flow table support 2018-12-16 18:21:04 +01:00
Bastian Blank b997f7d5e5 Enable IP_VS_MH 2018-12-16 18:15:09 +01:00