Skip to contentSkip to conversation

{linux, linux-headers}: default to 4.19.x

PATCH New Peter Korsgaard 2 participants 2 messages Jan 10, 2019 – Jan 12, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 {linux, linux-headers}: default to 4.19.x

4.20.x is not a long term support kernel, but 4.19.x is (supported until end 2020):
https://www.kernel.org/category/releases.html

With the upcoming Buildroot 2019.02 release being a LTS release, default to 4.19.x instead.

Notice: The userspace API breakage in net_stamp.h causing build failures has now been fixed in 4.19.14 by commit e4a2ffe9029fd (net: Use __kernel_clockid_t in uapi net_stamp.h)

---
 linux/Config.in                      | 4 ++--
 package/linux-headers/Config.in.host | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
linux/Config.in +2 -2
index 932aa62991..f1e963b76f 100644
@@ -30,7 +30,7 @@ choice
 	prompt "Kernel version"
 
 config BR2_LINUX_KERNEL_LATEST_VERSION
-	bool "Latest version (4.20)"
+	bool "Latest version (4.19)"
 
 config BR2_LINUX_KERNEL_LATEST_CIP_VERSION
 	bool "Latest CIP SLTS version (v4.4.154-cip28)"
@@ -120,7 +120,7 @@ endif
 
 config BR2_LINUX_KERNEL_VERSION
 	string
-	default "4.20.1" if BR2_LINUX_KERNEL_LATEST_VERSION
+	default "4.19.14" if BR2_LINUX_KERNEL_LATEST_VERSION
 	default "v4.4.154-cip28" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION
 	default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \
 		if BR2_LINUX_KERNEL_CUSTOM_VERSION
package/linux-headers/Config.in.host +1 -1
index e94d28419a..aa1636484f 100644
@@ -6,7 +6,7 @@ config BR2_PACKAGE_HOST_LINUX_HEADERS
 choice
 	prompt "Kernel Headers"
 	default BR2_KERNEL_HEADERS_AS_KERNEL if BR2_LINUX_KERNEL
-	default BR2_KERNEL_HEADERS_4_20
+	default BR2_KERNEL_HEADERS_4_19
 	help
 	  Select the kernel version to get headers from.
 
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 {linux, linux-headers}: default to 4.19.x

Hello,

Quoted 11 lines · Peter Korsgaard

4.20.x is not a long term support kernel, but 4.19.x is (supported until end 2020):
https://www.kernel.org/category/releases.html

With the upcoming Buildroot 2019.02 release being a LTS release, default to 4.19.x instead.

Notice: The userspace API breakage in net_stamp.h causing build failures has now been fixed in 4.19.14 by commit e4a2ffe9029fd (net: Use __kernel_clockid_t in uapi net_stamp.h)

Quoted 5 lines
---
 linux/Config.in                      | 4 ++--
 package/linux-headers/Config.in.host | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

Applied to master, thanks. I added some comments in Config.in files to explain why we use 4.19 and not 4.20+, and so that others don't mistakenly send patches to bump these versions.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com