From: Bruce Ashfield <[email protected]>

Update the sanitized kernel headers to the 7.2 release.

Add a HEADER_FETCH_VER mapping for major version 7 so the tarball is
fetched from the v7.x/ path on the kernel.org mirror; without it the
fetch fell through to the 2.6 default.

Signed-off-by: Bruce Ashfield <[email protected]>
---
 meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc   | 2 ++
 .../{linux-libc-headers_6.18.bb => linux-libc-headers_7.2.bb}   | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
 rename meta/recipes-kernel/linux-libc-headers/{linux-libc-headers_6.18.bb => 
linux-libc-headers_7.2.bb} (80%)

diff --git a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc 
b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc
index eeb42b24cc..a9376894de 100644
--- a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc
+++ b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc
@@ -46,6 +46,8 @@ python __anonymous () {
         d.setVar("HEADER_FETCH_VER", "5.x")
     elif major == "6":
         d.setVar("HEADER_FETCH_VER", "6.x")
+    elif major == "7":
+        d.setVar("HEADER_FETCH_VER", "7.x")
     else:
         d.setVar("HEADER_FETCH_VER", "2.6")
 }
diff --git a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_6.18.bb 
b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_7.2.bb
similarity index 80%
rename from meta/recipes-kernel/linux-libc-headers/linux-libc-headers_6.18.bb
rename to meta/recipes-kernel/linux-libc-headers/linux-libc-headers_7.2.bb
index 6a1ec33dc5..90c7b48405 100644
--- a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_6.18.bb
+++ b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_7.2.bb
@@ -8,6 +8,6 @@ SRC_URI:append:libc-musl = "\
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
 
-SRC_URI[sha256sum] = 
"9106a4605da9e31ff17659d958782b815f9591ab308d03b0ee21aad6c7dced4b"
+SRC_URI[sha256sum] = 
"f9fef3d14c0df53819026f4be74459835c2a0b0dcbf5b5bbd9ea19f0829402b3"
 
 
-- 
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#243926): 
https://lists.openembedded.org/g/openembedded-core/message/243926
Mute This Topic: https://lists.openembedded.org/mt/120859734/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to