Skip to content

Commit

Permalink
linux-headers: Update SRCURL to new kernel download locations
Browse files Browse the repository at this point in the history
  • Loading branch information
donald committed Nov 30, 2021
1 parent 512a5cc commit 9978552
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion linux-headers.be0
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 9978552

Please sign in to comment.