Skip to contentSkip to conversation

package/linux-headers: drop obsolete 3.2.x / 4.{1, 16, 18}.x versions

PATCH New Peter Korsgaard 2 participants 3 messages Jan 2, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/linux-headers: drop obsolete 3.2.x / 4.{1, 16, 18}.x versions

According to https://www.kernel.org/category/releases.html, these kernel versions are no longer supported, so drop them now that we have added 4.20.x

---
 linux/linux.hash                     |  5 -----
 package/linux-headers/Config.in.host | 23 -----------------------
 2 files changed, 28 deletions(-)
linux/linux.hash +0 -5
index 3e7fdbc81f..6467d8abca 100644
@@ -1,11 +1,6 @@
 # From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc
 sha256 ad0823183522e743972382df0aa08fb5ae3077f662b125f1e599b0b2aaa12438  linux-4.20.tar.xz
 sha256 f50a77fc40e13fc406791346fa91926394205874cd50246c7c2374006bacc0c2  linux-4.19.13.tar.xz
-sha256 68ac319e0fb7edd6b6051541d9cf112cd4f77a29e16a69ae1e133ff51117f653  linux-4.18.20.tar.xz
-sha256 41026d713ba4f7a5e9d514b876ce4ed28a1d993c0c58b42b2a2597d6a0e83021  linux-4.16.18.tar.xz
 sha256 6a587c8b4160918efa082b0c2eda8c2db0f50d8814ad1d1ac94be1edf66ca6a9  linux-4.14.91.tar.xz
 sha256 6067151b0225a8de1ab79abc9be7bae237eaca0cd838eb26684169560d88a994  linux-4.9.148.tar.xz
 sha256 06f1b080332251628727e42d21b4530035f03f00d75432199b2548172b1650a9  linux-4.4.169.tar.xz
-sha256 6ad9389e55e0ea57768eae173747058a4487fa3630e10a7999cfec9f945e559c  linux-4.1.52.tar.xz
-# From https://www.kernel.org/pub/linux/kernel/v3.x/sha256sums.asc
-sha256 ad96d797571496c969aa71bf5d08e9d2a8c84458090d29a120f1b2981185a99e  linux-3.2.102.tar.xz
package/linux-headers/Config.in.host +0 -23
index 32ddcef5f9..907725093d 100644
@@ -26,17 +26,6 @@ config BR2_KERNEL_HEADERS_AS_KERNEL
 	bool "Same as kernel being built"
 	depends on BR2_LINUX_KERNEL
 
-config BR2_KERNEL_HEADERS_3_2
-	bool "Linux 3.2.x kernel headers"
-	depends on !BR2_aarch64 && !BR2_aarch64_be && !BR2_arc && !BR2_nios2
-	depends on !BR2_riscv
-	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
-
-config BR2_KERNEL_HEADERS_4_1
-	bool "Linux 4.1.x kernel headers"
-	depends on !BR2_riscv
-	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
-
 config BR2_KERNEL_HEADERS_4_4
 	bool "Linux 4.4.x kernel headers"
 	depends on !BR2_riscv
@@ -52,14 +41,6 @@ config BR2_KERNEL_HEADERS_4_14
 	depends on !BR2_riscv
 	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14
 
-config BR2_KERNEL_HEADERS_4_16
-	bool "Linux 4.16.x kernel headers"
-	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_16
-
-config BR2_KERNEL_HEADERS_4_18
-	bool "Linux 4.18.x kernel headers"
-	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_18
-
 config BR2_KERNEL_HEADERS_4_19
 	bool "Linux 4.19.x kernel headers"
 	select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19
@@ -304,13 +285,9 @@ endchoice
 
 config BR2_DEFAULT_KERNEL_HEADERS
 	string
-	default "3.2.102"	if BR2_KERNEL_HEADERS_3_2
-	default "4.1.52"	if BR2_KERNEL_HEADERS_4_1
 	default "4.4.169"	if BR2_KERNEL_HEADERS_4_4
 	default "4.9.148"	if BR2_KERNEL_HEADERS_4_9
 	default "4.14.91"	if BR2_KERNEL_HEADERS_4_14
-	default "4.16.18"	if BR2_KERNEL_HEADERS_4_16
-	default "4.18.20"	if BR2_KERNEL_HEADERS_4_18
 	default "4.19.13"	if BR2_KERNEL_HEADERS_4_19
 	default "4.20"		if BR2_KERNEL_HEADERS_4_20
 	default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 package/linux-headers: drop obsolete 3.2.x / 4.{1, 16, 18}.x versions

Hello,

Quoted 8 lines · Peter Korsgaard

According to https://www.kernel.org/category/releases.html, these kernel versions are no longer supported, so drop them now that we have added 4.20.x

---
 linux/linux.hash                     |  5 -----
 package/linux-headers/Config.in.host | 23 -----------------------
 2 files changed, 28 deletions(-)

We do have some Config.in.legacy handling for those options:

$ grep KERNEL_HEADERS Config.in.legacy 
config BR2_KERNEL_HEADERS_4_10
config BR2_KERNEL_HEADERS_4_11
config BR2_KERNEL_HEADERS_4_12
config BR2_KERNEL_HEADERS_4_13
config BR2_KERNEL_HEADERS_4_15
config BR2_KERNEL_HEADERS_4_17
config BR2_KERNEL_HEADERS_3_4
config BR2_KERNEL_HEADERS_3_10
config BR2_KERNEL_HEADERS_3_12
config BR2_KERNEL_HEADERS_4_8
config BR2_KERNEL_HEADERS_3_18
config BR2_KERNEL_HEADERS_4_7
config BR2_KERNEL_HEADERS_4_6
config BR2_KERNEL_HEADERS_4_5
config BR2_KERNEL_HEADERS_3_14
config BR2_KERNEL_HEADERS_4_3
config BR2_KERNEL_HEADERS_4_2
config BR2_KERNEL_HEADERS_4_0
config BR2_KERNEL_HEADERS_3_19
config BR2_KERNEL_HEADERS_3_17
config BR2_KERNEL_HEADERS_3_16
config BR2_KERNEL_HEADERS_3_0
config BR2_KERNEL_HEADERS_3_11
config BR2_KERNEL_HEADERS_3_13
config BR2_KERNEL_HEADERS_3_15
config BR2_KERNEL_HEADERS_3_8
config BR2_KERNEL_HEADERS_3_6
config BR2_KERNEL_HEADERS_3_7
config BR2_KERNEL_HEADERS_SNAP
config BR2_KERNEL_HEADERS_3_1
config BR2_KERNEL_HEADERS_3_3
config BR2_KERNEL_HEADERS_3_5

Shouldn't we continue with the same process ?

Best regards,

Thomas

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

PATCH 1/1 package/linux-headers: drop obsolete 3.2.x / 4.{1, 16, 18}.x versions

Quoted 49 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

Hello,

Quoted 8 lines · Peter Korsgaard

According to https://www.kernel.org/category/releases.html, these kernel versions are no longer supported, so drop them now that we have added 4.20.x

---
linux/linux.hash | 5 -----
package/linux-headers/Config.in.host | 23 -----------------------

2 files changed, 28 deletions(-)

We do have some Config.in.legacy handling for those options:

$ grep KERNEL_HEADERS Config.in.legacy 
config BR2_KERNEL_HEADERS_4_10
config BR2_KERNEL_HEADERS_4_11
config BR2_KERNEL_HEADERS_4_12
config BR2_KERNEL_HEADERS_4_13
config BR2_KERNEL_HEADERS_4_15
config BR2_KERNEL_HEADERS_4_17
config BR2_KERNEL_HEADERS_3_4
config BR2_KERNEL_HEADERS_3_10
config BR2_KERNEL_HEADERS_3_12
config BR2_KERNEL_HEADERS_4_8
config BR2_KERNEL_HEADERS_3_18
config BR2_KERNEL_HEADERS_4_7
config BR2_KERNEL_HEADERS_4_6
config BR2_KERNEL_HEADERS_4_5
config BR2_KERNEL_HEADERS_3_14
config BR2_KERNEL_HEADERS_4_3
config BR2_KERNEL_HEADERS_4_2
config BR2_KERNEL_HEADERS_4_0
config BR2_KERNEL_HEADERS_3_19
config BR2_KERNEL_HEADERS_3_17
config BR2_KERNEL_HEADERS_3_16
config BR2_KERNEL_HEADERS_3_0
config BR2_KERNEL_HEADERS_3_11
config BR2_KERNEL_HEADERS_3_13
config BR2_KERNEL_HEADERS_3_15
config BR2_KERNEL_HEADERS_3_8
config BR2_KERNEL_HEADERS_3_6
config BR2_KERNEL_HEADERS_3_7
config BR2_KERNEL_HEADERS_SNAP
config BR2_KERNEL_HEADERS_3_1
config BR2_KERNEL_HEADERS_3_3
config BR2_KERNEL_HEADERS_3_5
Quoted 1 line

Shouldn't we continue with the same process ?

Yes, certainly. I got interrupted while making this patch and completely forgot about it again.

Will fix.

Signature · 1 line
Bye, Peter Korsgaard