diff mbox

linux: Fix URL for release candidate versions

Message ID 20170725031401.18029-1-luaraneda@gmail.com
State Superseded
Headers show

Commit Message

Luis Araneda July 25, 2017, 3:14 a.m. UTC
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 <luaraneda@gmail.com>
---
 linux/linux.mk | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Comments

Baruch Siach July 25, 2017, 8:37 a.m. UTC | #1
Hi Luis,

On Mon, Jul 24, 2017 at 11:14:01PM -0400, Luis Araneda wrote:
> 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 <luaraneda@gmail.com>
> ---
>  linux/linux.mk | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/linux/linux.mk b/linux/linux.mk
> index 032d64fc2..e8b779f7e 100644
> --- a/linux/linux.mk
> +++ b/linux/linux.mk
> @@ -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.

>  endif # -rc
>  endif

baruch
diff mbox

Patch

diff --git a/linux/linux.mk b/linux/linux.mk
index 032d64fc2..e8b779f7e 100644
--- a/linux/linux.mk
+++ b/linux/linux.mk
@@ -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