diff --git a/linux-headers.be0 b/linux-headers.be0 index 905531b33..e474b70c1 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.) @@ -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.