Commit Graph

1152 Commits

Author SHA1 Message Date
Peter Korsgaard
1d55ef00a1 linux: make license option visible for _CUSTOM_VERSION as well
Commit 50958bcdac ("linux: Add support for custom license files") added a
default value for the license files and made the option visible (E.G.
editable) when a custom VCS or tarball version is used, but it is also
needed for users of an older _CUSTOM_VERSION (E.G.  mainline release), as
the referenced files were only added in Linux 4.16 with commit e00a844aca
("LICENSES: Add Linux syscall note exception"), so change that.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 9900ba6208)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2026-02-26 10:24:42 +01:00
Titouan Christophe
7849889037 {linux, linux-headers}: bump 6.18.x, 6.12.x, 6.6.x, 6.1.x, 5.15.x, 5.10.x series
Update the latest kernel releases to:
 - 6.18.5 -> 6.18.12
 - 6.12.65 -> 6.12.73
 - 6.6.120 -> 6.6.126
 - 6.1.160 -> 6.1.163
 - 5.15.197 -> 5.15.200
 - 5.10.247 -> 5.10.250

Signed-off-by: Titouan Christophe <titouan.christophe@mind.be>
2026-02-16 18:41:54 +01:00
Kory Maincent
8e30572079 linux: Add support for custom license files
The Linux package was not providing any license file when a custom
Linux version was selected.

Fix this by adding a Kconfig option to specify the license file,
with a default value set to the commonly used license paths.

Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
[Arnout: use a single Kconfig option with conditional prompt]
Signed-off-by: Arnout Vandecappelle <arnout@rnout.be>
(cherry picked from commit 50958bcdac)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2026-02-12 14:26:18 +01:00
Peter Korsgaard
f08922568a linux: fix 'architectures' typo
Found by codespell.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit f9a40c726f)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2026-02-04 17:27:42 +01:00
Bernd Kuhls
e35028d708 linux: bump CIP kernel to version 5.10.246-cip66
Added Upstream: tag to patch.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit fd2555ecfd)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2026-01-15 09:28:21 +01:00
Titouan Christophe
1f642b56de {linux, linux-headers}: bump 6.18.x, 6.17.x, 6.12.x, 6.6.x, 6.1.x series
Update the latest kernel releases to:
 - 6.18 -> 6.18.5
 - 6.17.11 -> 6.17.13
 - 6.12.61 -> 6.12.65
 - 6.6.119 -> 6.6.120
 - 6.1.159 -> 6.1.160

Signed-off-by: Titouan Christophe <titouan.christophe@mind.be>
2026-01-13 09:34:22 +01:00
Thomas Petazzoni
6e99889c74 linux: select host-openssl for all architectures when building latest version
Since at least Linux 6.16, but possibly earlier, host-openssl is now
needed on the vast majority of CPU architectures.

A common reason to require host-openssl in the Kernel is to enable
Wireless Networking. This is now enabled in most defconfigs.

- When enabling CONFIG_NET [1]
- CONFIG_WIRELESS is enabled by default [2]
- For Wireless, CONFIG_CFG80211 is commonly enabled too [3]
- CONFIG_CFG80211_REQUIRE_SIGNED_REGDB is enabled by default
  which selects SYSTEM_DATA_VERIFICATION [4]
- CONFIG_SYSTEM_DATA_VERIFICATION
  select SYSTEM_TRUSTED_KEYRING [5]
- CONFIG_SYSTEM_TRUSTED_KEYRING adds system_certificates.o
  which needs x509_certificate_list and extract-cert [6]
- and finally, extract-cert uses host-openssl [7]

Even if some architecture defconfigs (such as m68k) are not directly
enabling CONFIG_CFG80211 in the Kernel, there is still chances for
this option to be enabled by Kernel configuration fixups of selected
Buildroot package. This situation can happen in Buildroot
autobuilders.

Also, in some specific cases, host-openssl might be needed for
some other reasons (e.g. s390 arch defconfig enables
SYSTEM_DATA_VERIFICATION which ends up the same way).

Indeed, in order to fix build issues, we would have to add: armeb,
microblaze, loongarch, m68k, mips, mipsel, mips64, mips64el, powerpc,
powerpc64, powerpc64el, riscv, s390, and possibly others.

So intead, when "latest kernel" is used with the default architecture
configuration, always select host-openssl independently of the
selected architectures.

Fixes:

  https://autobuild.buildroot.net/results/9a314e759f7640d760003e46f86153300478ec60/ (mipsel)
  https://autobuild.buildroot.net/results/3bcc674ea5a7cdf031200b0cd2f9f71400ba391c/ (mips64el)
  https://autobuild.buildroot.net/results/b24983fd91f408de56479b7d7d57fc9fd3333d7d/ (s390)
  https://autobuild.buildroot.net/results/b262fc6f67a9fed55faffcdd580d89f4664e1e16/ (powerpc64)
  https://autobuild.buildroot.net/results/45da1538457b18671fa18efe3e1aa57a15561370/ (m68k)
  https://autobuild.buildroot.net/results/0a457375d2509f1b29a449dfa50f29fc7e56e568/ (armeb)
  https://autobuild.buildroot.net/results/814ca5f048827a635dea0199878fa82d5012b649/ (loongarch64)
  https://autobuild.buildroot.net/results/b684d0b37e5187aa9b31693356f8515857d19f7a/ (microblaze)

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/net/Kconfig?h=v6.18.1#n6
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/net/Kconfig?h=v6.18.1#n428
[3] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/net/wireless/Kconfig?h=v6.18.1#n17
[4] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/net/wireless/Kconfig?h=v6.18.1#n89
[5] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/init/Kconfig?h=v6.18.1#n2063
[6] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/certs/Makefile?h=v6.18.1#n6
[7] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/certs/extract-cert.c?h=v6.18.1#n21

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Reviewed-by: Romain Naour <romain.naour@smile.fr>
[Julien: add extra info in commit log]
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit bba86304b0)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-12-18 17:01:07 +01:00
Bernd Kuhls
7c9d6018e6 package/linux-headers: drop 5.4.x option
The 5.4.x series is now EOL upstream, so drop the linux-headers
option and add legacy handling for it.

Bump kernel version in test_zfs.py.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-12-07 12:51:25 +01:00
Bernd Kuhls
a06d79862a linux: bump latest version to 6.18
For an overview of changes in 6.18, see:
https://kernelnewbies.org/Linux_6.18

Also, the Kernel 6.18 series was also selected as a longterm
supported one (LTS). See:
https://git.kernel.org/pub/scm/docs/kernel/website.git/commit/?id=b9ea3472ee1d973f4c27d075c7e4445afa7ade89

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
[Julien: add comment about 6.18 being LTS]
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-12-07 12:51:03 +01:00
Bernd Kuhls
6f311de2de {toolchain, linux-headers}: add support for 6.18 headers
And add (and default to) 6.18 to linux-headers.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-12-07 12:41:14 +01:00
Bernd Kuhls
eb1d45388f {linux, linux-headers}: bump 5.{10, 15}.x / 6.{1, 6, 12, 17}.x series
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-12-07 12:41:13 +01:00
Bernd Kuhls
bd1831d161 {linux, linux-headers}: bump 5.4.x series
https://lwn.net/Articles/1049060/
"This is the LAST 5.4.y release.  It is now end-of-life and should not be
 used by anyone, anymore.  As of this point in time, there are 1539
 documented unfixed CVEs for this kernel branch, and that number will
 only increase over time as more CVEs get assigned for kernel bugs."

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-12-03 22:40:40 +01:00
Bernd Kuhls
b41c6b21d5 {linux, linux-headers}: bump 6.{6, 12, 17}.x series
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-12-02 22:46:23 +01:00
Bernd Kuhls
6ed4181759 {linux, linux-headers}: fix hash for kernel 6.6.117
Buildroot commit 59479ae646 added a wrong
hash for kernel 6.6.117.

Fixes:
https://autobuild.buildroot.org/results/5aa65e053b827e4d5c21d4cc06f439f1dd093053/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-11-27 21:22:11 +01:00
Bernd Kuhls
59479ae646 {linux, linux-headers}: bump 6.{6, 12, 17}.x series
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-11-24 23:38:59 +01:00
Bernd Kuhls
32856875c4 {linux, linux-headers}: bump 6.{12, 17}.x series
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-11-15 13:57:08 +01:00
Bernd Kuhls
6b7e87f4e1 {linux, linux-headers}: bump 6.{6, 12, 17}.x series
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-11-03 22:03:40 +01:00
Bernd Kuhls
a6942ce78c {linux, linux-headers}: bump 5.{4, 10, 15}.x / 6.{1, 6, 12, 17}.x series
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-10-29 23:08:02 +01:00
Bernd Kuhls
4016c78ea2 {linux, linux-headers}: bump 6.{6, 12, 17}.x series
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-10-25 19:22:09 +02:00
Bernd Kuhls
7095e120a2 {linux, linux-headers}: bump 5.15.x / 6.{1, 6, 12, 17}.x series
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-10-19 21:56:07 +02:00
Bernd Kuhls
2661d9b34f {linux, linux-headers}: bump 6.{1, 6, 12, 17}.x series
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-10-16 21:42:20 +02:00
Bernd Kuhls
3fef7cbb6d package/linux-headers: drop 6.16.x option
The 6.16.x series is now EOL upstream, so drop the linux-headers
option and add legacy handling for it.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-10-12 22:53:37 +02:00
Bernd Kuhls
fec2d492a4 {linux, linux-headers}: bump 6.{6, 12, 16, 17}.x series
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-10-12 22:53:30 +02:00
Bernd Kuhls
acab6d38a2 {linux, linux-headers}: bump 6.{6, 12, 16, 17}.x series
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-10-08 18:59:14 +02:00
Bernd Kuhls
d6c0f0015b {linux, linux-headers}: fix license hash for kernel 6.17
Buildroot commit 76d25d365b added support
for kernel 6.17 but forgot to update a license hash needed due to
upstream commit:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/LICENSES/preferred/GPL-2.0?h=v6.17&id=660470dc58624242e39b7fdc6290c81a4f810b1e

Fixes:
https://autobuild.buildroot.org/results/fbf/fbf40bda2e31ed9b9eb94dbc398123695366b776/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2025-10-05 15:36:50 +02:00
Bernd Kuhls
c4a25d9f3f {linux, linux-headers}: bump 5.{4, 10, 15}.x / 6.{1, 6, 12, 16}.x series
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-10-03 13:57:04 +02:00
Bernd Kuhls
744cdebc55 linux: bump latest version to 6.17
For an overview of changes in 6.17, see:
https://kernelnewbies.org/Linux_6.17

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
[Julien: add link to kernelnewbies.org overview]
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-10-01 18:43:07 +02:00
Bernd Kuhls
76d25d365b {toolchain, linux-headers}: add support for 6.17 headers
And add (and default to) 6.17 to linux-headers.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-10-01 18:43:07 +02:00
Bernd Kuhls
507653a74a {linux, linux-headers}: bump 6.{1, 6, 12, 16}.x series
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-10-01 18:43:07 +02:00
Titouan Christophe
0ad6f18547 package/fbtft: remove package
The fbtft linux extension was only needed for very old kernels (<4.0)
that are no longer available in Buildroot.

Let's therefore remove it.

Signed-off-by: Titouan Christophe <titouan.christophe@mind.be>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-09-28 13:26:40 +02:00
Bernd Kuhls
27e1031aa4 {linux, linux-headers}: security bump 5.{4, 10, 15}.x / 6.{1, 6, 12, 16}.x series
This bump, with the exception of the 5.4 series, fixes the VMSCAPE bug:
CVE-2025-40300.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Arnout Vandecappelle <arnout@rnout.be>
2025-09-11 21:25:27 +02:00
Titouan Christophe
72c95d947f package/aufs{-util}: remove package
Remove support for aufs, as it is outdated and unmaintained in Buildroot.
Users are encouraged to use overlayfs in place of aufs.

This patch removes support for aufs package providing sources for
the kernel extension, the related Buildroot kernel extension configuration,
as well as the userspace utilities.

This also allows to remove some special cases in configuration utilities.

Signed-off-by: Titouan Christophe <titouan.christophe@mind.be>
[Romain: fix legacy handling text]
Signed-off-by: Romain Naour <romain.naour@smile.fr>
2025-09-10 23:57:12 +02:00
Peter Korsgaard
0af159ae2b Merge branch 'next'
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2025-09-08 15:36:35 +02:00
Bernd Kuhls
abed850772 {linux, linux-headers}: bump 5.{4, 10, 15}.x / 6.{1, 6, 12, 16}.x series
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-09-05 19:35:55 +02:00
Titouan Christophe
dca62a6365 package/ev3dev-linux-drivers: remove package
These external linux drivers haven't seen any activity in Buildroot
for a while, and are anyway aimed at an old kernel version (4.19).

Signed-off-by: Titouan Christophe <titouan.christophe@mind.be>
Acked-by: David Lechner <david@lechnology.com>
Signed-off-by: Arnout Vandecappelle <arnout@rnout.be>
2025-08-29 19:49:22 +02:00
Bernd Kuhls
c1512a76d7 {linux, linux-headers}: bump 5.{4, 10, 15}.x / 6.{1, 6, 12, 16}.x series
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2025-08-29 15:13:22 +02:00
Bernd Kuhls
522b56cd50 {linux, linux-headers}: bump 6.{1, 6, 12, 16}.x series
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-08-24 16:36:21 +02:00
Bernd Kuhls
0ce896b28b package/linux-headers: drop 6.15.x option
The 6.15.x series is now EOL upstream, so drop the linux-headers
option and add legacy handling for it.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-08-24 16:36:21 +02:00
Thomas Petazzoni
164d6e65c7 linux: CIP 5.10 versions not available for Loongarch
Loongarch support was added upstream in Linux 5.19, so it is not
available in the CIP versions that are based on 5.10. Prevent from
selecting those kernel versions when Loongarch is used.

Fixes:

  https://autobuild.buildroot.net/results/eebcf605f8f868a668960152f30c08f700405a4d/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Romain Naour <romain.naour@smile.fr>
2025-08-24 11:41:03 +02:00
Thomas Petazzoni
e002ec3773 linux: enable BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL on a few more architectures
This commit is an extension of
5dae966a30 ("linux: select
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL when needed"), which solves
autobuilder issues by making sure that
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL is automatically enabled on some
architecture if the default architecture defconfig is used and the
latest kernel is built (which is what happens in the autobuilders).

This new commit adds BR2_or1k and BR2_riscv to the list to fix
autobuilder issues.

Fixes:

  https://autobuild.buildroot.org/results/1a739eee39bdef8986279a9e21f8637fbe263353/ (or1k)
  https://autobuild.buildroot.org/results/acb62b7a486f3f8e99c6cc2b52b0c259bfa18a0e/ (riscv)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-08-20 19:06:13 +02:00
Romain Naour
ab470fbc8e linux: add missing hash for linux 6.1.147
When building a toolchain with kernel headers 6.1.x, the build fail
due to missing hash for linux-6.1.147.tar.xz

The hash was removed by mistake when bumping kernel 6.{6, 12, 15}.x
series.

Fixes: 51b27bad91

Cc: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-08-09 16:01:51 +02:00
Bernd Kuhls
51b27bad91 {linux, linux-headers}: bump 6.{6, 12, 15}.x series
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-08-03 17:25:56 +02:00
Bernd Kuhls
0461043a51 linux: bump latest version to 6.16
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-07-29 01:20:41 +02:00
Bernd Kuhls
d9a1352e7d {toolchain, linux-headers}: add support for 6.16 headers
And add (and default to) 6.16 to linux-headers.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-07-29 01:20:38 +02:00
Bernd Kuhls
065c1b84b5 {linux, linux-headers}: bump 5.{4, 10, 15}.x / 6.{1, 6, 12, 15}.x series
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-07-24 22:16:42 +02:00
Bernd Kuhls
e7a175355b {linux, linux-headers}: bump 5.15.x / 6.{1, 6, 12, 15}.x series
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-07-11 21:51:04 +02:00
Bernd Kuhls
09880508cb {linux, linux-headers}: bump 6.{1, 6, 12, 15}.x series
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-07-08 23:13:46 +02:00
Jiaxun Yang
677047d200 linux: Introduce {vmlinux, vmlinuz}.efi kernel binary format
vmlinux.efi and vmlinuz.efi are standard file names for LoongArch
EFISTUB kernel.

Introduce them to build system.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Reviewed-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-07-05 19:45:38 +02:00
Bernd Kuhls
f6d9a93c51 {linux, linux-headers}: bump 5.{4, 10, 15}.x / 6.{1, 6, 12, 15}.x series
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-07-01 21:52:14 +02:00
Bernd Kuhls
7a1d7189a0 {linux, linux-headers}: bump 6.{6, 12, 15}.x series
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-06-20 18:47:39 +02:00