From 512a5cc530e66b4a4e33e52bad2f911d7c54ab14 Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Sat, 27 Nov 2021 14:21:24 +0100 Subject: [PATCH 1/2] linux.headers: Update version from 4.14.87 to 5.15.5 Update linux-headers to latest stable version. I don't expect any problems if linux-headers is newer than the running kernel. The consumers (mainly glibc) adapts to the running kernel anyway. However, if we compile consumers with old headers, we wouldn't be able to use new kernel features even when we update the kernel. --- linux-headers.be0 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux-headers.be0 b/linux-headers.be0 index 905531b33..8471c6b6a 100755 --- a/linux-headers.be0 +++ b/linux-headers.be0 @@ -1,6 +1,6 @@ #!/usr/bin/env beesh -# BEE_VERSION linux-headers-4.14.87-0 +# BEE_VERSION linux-headers-5.15.5-0 ## this file was created by bee init and should be executed to build a ## bee-package. (Additional hints are located at the end of this file.) From 99785527df2aabf7e9a1b9798d815950179d3b04 Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Tue, 30 Nov 2021 08:18:53 +0100 Subject: [PATCH 2/2] linux-headers: Update SRCURL to new kernel download locations --- linux-headers.be0 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/linux-headers.be0 b/linux-headers.be0 index 8471c6b6a..e474b70c1 100755 --- a/linux-headers.be0 +++ b/linux-headers.be0 @@ -9,7 +9,11 @@ ## The source URL(s) define the location of the sources that will be ## downloaded. Version variables may be used to simplify reuse of this bee-file. -SRCURL[0]="https://www.kernel.org/pub/linux/kernel/v4.x/linux-${PKGVERSION}.tar.xz" +if [ -z "${PKGEXTRAVERSION_DASH}" ]; then + SRCURL[0]="https://cdn.kernel.org/pub/linux/kernel/v${PKGVERSION[1]}.x/linux-${PKGVERSION}.tar.xz" +else + SRCURL[0]="https://git.kernel.org/torvalds/t/linux-${PKGVERSION}${PKGEXTRAVERSION_DASH}.tar.gz" +fi ############################################################################### ## Add URLs/pathes to patch files to the PATCHURL array.