linux: Fix URL for release candidate versions
PATCH 1/1 linux: Fix URL for release candidate versions
Starting with 4.12-rc1, tarballs are generated by cgit directly from Linus's tree.
This method also applies to older release candidates.
Signed-off-by Luis Araneda <[email protected]>
--- linux/linux.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
linux/linux.mk +3 -2
@@ -43,9 +43,10 @@ LINUX_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/v3.x else ifeq ($(findstring x4.,x$(LINUX_VERSION)),x4.) LINUX_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/v4.x endif -# release candidates are in testing/ subdir +# Release candidates tarballs are generated automatically from a git tag ifneq ($(findstring -rc,$(LINUX_VERSION)),) -LINUX_SITE := $(LINUX_SITE)/testing +LINUX_SITE := https://git.kernel.org/torvalds/t +LINUX_SOURCE = linux-$(LINUX_VERSION).tar.gz endif # -rc endif
Signature · 1 line
2.13.3
PATCH 1/1 linux: Fix URL for release candidate versions
Hi Luis,
Quoted 14 lines · Luis Araneda
Starting with 4.12-rc1, tarballs are generated by cgit directly from Linus's tree.
This method also applies to older release candidates.Signed-off-by Luis Araneda <[email protected]>--- linux/linux.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)linux/linux.mk +0
-0
linux/linux.mk LINUX_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/v3.x · line 49
Quoted 9 lines
linux/linux.mk +3
-2@@ -43,9 +43,10 @@ LINUX_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/v3.x else ifeq ($(findstring x4.,x$(LINUX_VERSION)),x4.) LINUX_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/v4.x endif -# release candidates are in testing/ subdir +# Release candidates tarballs are generated automatically from a git tag ifneq ($(findstring -rc,$(LINUX_VERSION)),) -LINUX_SITE := $(LINUX_SITE)/testing +LINUX_SITE := https://git.kernel.org/torvalds/t +LINUX_SOURCE = linux-$(LINUX_VERSION).tar.gz
Why do you need to add this? It should be the default value.
linux/linux.mk LINUX_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/v3.x · line 51
Quoted 2 lines
linux/linux.mk +0
-0endif # -rc endif
baruch
Signature · 3 lines
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -