Commit Graph

13654 Commits

Author SHA1 Message Date
Ben Hutchings
6c01fb1460 debian/rules.d/tools/perf/Makefile: Delete redundant arch/profile checks
Since commit f5f169ba99 "Split build rules for tools to allow
skipping them." the architecture and profile checks are done in
debian/rules.real.
2019-01-18 23:54:28 +00:00
Ben Hutchings
5b0c3258f6 debian/rules.d: Delete now-unused recursive makefiles
Since commit f5f169ba99 "Split build rules for tools to allow
skipping them." these recursive makefiles are not used.

(debian/rules.d/Makefile can additionally install the top-level Kbuild
and Makefile, but that target hasn't been used since svn rev 18133
(version 3.1-1~experimental.1).)
2019-01-18 23:54:28 +00:00
Ben Hutchings
cd07c2e48b debian/rules.d, debian/rules.real: Restore build of userland headers for tools
Since commit f5f169ba99 "Split build rules for tools to allow
skipping them." debian/rules.d/Makefile is not used and the current
kernel's UAPI headers are not installed.  This hasn't caused breakage
yet, probably because many tools have their own workaround using
include/uapi etc. directly, but could break backports builds at some
point.

Move the build of userland headers up into debian/rules.real and
make all tools build targets depend on it.
2019-01-18 23:54:28 +00:00
Ben Hutchings
f75cc1f217 Merge branch 'source_disable' into 'sid'
Don't add linux-source to d/control when source: false

See merge request kernel-team/linux!104
2019-01-18 21:02:59 +00:00
Luca Boccassi
7368dbe6c6 Document pkg.linux.nosource in debian/README.source. 2019-01-18 20:59:11 +00:00
Luca Boccassi
7a4961e3fc linux-perf: explicitly disable the jvmti feature and shared library. 2019-01-18 20:57:32 +00:00
Luca Boccassi
380ff19d50 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.
2019-01-18 20:57:32 +00:00
Ben Hutchings
3cc965234c Prepare to release linux (4.19.16-1). 2019-01-17 18:56:17 +00:00
Ben Hutchings
bd07300128 debian/rules.real: Fix build conditions for headers, debug and signed templates
The REAL_VERSION and PACKAGE_NAME variables aren't defined at the
point where we use them to check whether the package is enabled.
Replace them with their intended expansions to avoid this problem.
2019-01-17 18:56:14 +00:00
Ben Hutchings
a54836a8ea Update to 4.19.16 2019-01-16 22:08:49 +00:00
Ben Hutchings
4a61bb4df9 Merge branch 'leds-apu' into 'sid'
Enable LEDS_APU to support leds on PC Engines APU

See merge request kernel-team/linux!101
2019-01-16 19:00:52 +00:00
Ben Hutchings
3a9466b40d Delete obsolete ABI reference 2019-01-16 18:59:25 +00:00
Ben Hutchings
ee7babeceb Merge branch 'sid' into 'sid'
update to 4.19.15

See merge request kernel-team/linux!98
2019-01-16 18:57:53 +00:00
Luigi Baldoni
b835b5ea87 Enable LEDS_APU to support leds on PC Engines APU 2019-01-16 13:04:14 +01:00
Yves-Alexis Perez
9bba1fb9b9 [rt] Update to 4.19.15-rt12 2019-01-16 11:09:49 +01:00
Yves-Alexis Perez
fceb8a1734 update to 4.19.15 2019-01-16 11:09:49 +01:00
Yves-Alexis Perez
bfc928ff1a update to 4.19.14 2019-01-16 11:09:26 +01:00
Salvatore Bonaccorso
c2ac4cd321 posix-cpu-timers: Unbreak timer rearming
Closes: #919019
Closes: #919049
2019-01-12 11:25:48 +01:00
Romain Perier
fe5142170f [rt] Update to 4.19.13-rt10 2019-01-11 17:44:15 +01:00
YunQiang Su
d31776d28d Enable FB_SM750 and DRM_AST for Loongson-3
Some new Loongson servers are using Aspeed BMC, which has an GPU.
Some other Loongson servers are using SM750 GPU instead of AMD's.

Since MIPS doesn't have a generic display driver like VESA, we need
to install sm750fb and (drm_)ast into Loongson's fb-moduels udeb package.

(cherry picked from commit 6fbe9f4e36)
2019-01-08 07:03:29 +00:00
Michal Simek
dfc91d42a7 [arm64] Enable drivers for Xilinx ZynqMP
Enable ZynqMP architecture and sata(ceva), ethernet(macb),
uart(ps_uart), pcie(xilinx_nwl) and gpio drivers.

(cherry picked from commit 4bdb05f65df963a7e304ab62449be6d693c781ba)
[bwh: Replace CONFIG_NET_CADENCE with CONFIG_NET_VENDOR_CADENCE]
2019-01-05 20:13:50 +00:00
Salvatore Bonaccorso
c91e16558f ipv6: Consider sk_bound_dev_if when binding a socket to an address
Closes: #918103
2019-01-04 10:33:34 +01:00
Yves-Alexis Perez
f58750e12d smb3: fix large reads on encrypted connections 2019-01-02 10:39:19 +01:00
Ben Hutchings
80c2596a7c Add pkg.linux.nokernel build profile that excludes kernel image/header packages
This should mostly be useful for testing changes that only affect
the userland packages.
2019-01-01 19:27:10 +00:00
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