Skip to content

Commit 36a394f

Browse files
committed
build: fetch kernel from cdn.kernel.org static mirror
1 parent be689cb commit 36a394f

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
KERNEL_VERSION = linux-6.12.96
2-
# Fetch stable snapshots directly so HTTP errors are visible instead of cached as tarballs.
3-
KERNEL_REMOTE = https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/snapshot/$(KERNEL_VERSION).tar.gz
2+
# Static release tarball from the kernel.org CDN: reliable and cached, unlike the
3+
# git.kernel.org cgit snapshot endpoint, which regenerates a ~250MB tarball per
4+
# request and 502s under CI load.
5+
KERNEL_REMOTE = https://cdn.kernel.org/pub/linux/kernel/v6.x/$(KERNEL_VERSION).tar.gz
46
KERNEL_TARBALL = tarballs/$(KERNEL_VERSION).tar.gz
57
KERNEL_SOURCES = $(KERNEL_VERSION)
68
KERNEL_PATCHES = $(shell find patches/ -name "0*.patch" | sort)

0 commit comments

Comments
 (0)