From c148677598afd2e4e531e3adcfff64fc3ba328fa Mon Sep 17 00:00:00 2001 From: KPD Date: Sun, 6 Apr 2025 23:27:28 +0000 Subject: [PATCH 1/2] adding ci files --- empty | 1 + 1 file changed, 1 insertion(+) create mode 100644 empty diff --git a/empty b/empty new file mode 100644 index 000000000..c6cac6926 --- /dev/null +++ b/empty @@ -0,0 +1 @@ +empty From 76c7c5187667a9e152438655d49f917ce5f0530f Mon Sep 17 00:00:00 2001 From: Chuck Lever Date: Thu, 13 Mar 2025 17:00:10 -0400 Subject: [PATCH 2/2] Add the stable release candidate repo to the Linux git repos menu I have several nightly test runners that pull LTS release candidates for testing. I have to hand-edit the Kconfig for each test runner when switching from the master repo to a local mirror. I would like to get those to switch automatically over to using a local mirror, when one is available. Signed-off-by: Chuck Lever --- scripts/gen-refs-default.Makefile | 4 ++-- scripts/gen-refs-user.Makefile | 2 ++ workflows/linux/Kconfig | 6 ++++++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/scripts/gen-refs-default.Makefile b/scripts/gen-refs-default.Makefile index c5d12e152..0ef1d67cb 100644 --- a/scripts/gen-refs-default.Makefile +++ b/scripts/gen-refs-default.Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: copyleft-next-0.3.1 -REF_DEF_OBJS := $(addprefix $(TOPDIR)/workflows/linux/refs/default/, Kconfig.linus Kconfig.next Kconfig.stable) -REF_DEF_SRC := $(addprefix $(TOPDIR)/workflows/linux/refs/static/, linus.yaml next.yaml stable.yaml) +REF_DEF_OBJS := $(addprefix $(TOPDIR)/workflows/linux/refs/default/, Kconfig.linus Kconfig.next Kconfig.stable Kconfig.stable_rc) +REF_DEF_SRC := $(addprefix $(TOPDIR)/workflows/linux/refs/static/, linus.yaml next.yaml stable.yaml stable_rc.yaml) KRELEASES_FORCE := $(if $(filter --force,$(KRELEASES_FORCE)),--force,) diff --git a/scripts/gen-refs-user.Makefile b/scripts/gen-refs-user.Makefile index d8a65b2e6..6fbd084a1 100644 --- a/scripts/gen-refs-user.Makefile +++ b/scripts/gen-refs-user.Makefile @@ -3,6 +3,7 @@ SRC_URI_HTTPS_LINUS = https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git SRC_URI_HTTPS_NEXT = https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git SRC_URI_HTTPS_STABLE = https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git +SRC_URI_HTTPS_STABLE_RC = https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git SRC_URI_HTTPS_MCGROF_LINUS = https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux.git SRC_URI_HTTPS_MCGROF_NEXT = https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git @@ -18,6 +19,7 @@ SRC_URI_HTTPS_STABLE_RC = https://git.kernel.org/pub/scm/linux/kernel/git/stable REFS_TARGET_LINUS := gen_refs_linus REFS_TARGET_NEXT := gen_refs_next REFS_TARGET_STABLE := gen_refs_stable +REFS_TARGET_STABLE_RC := gen_refs_stable_rc REFS_TARGET_DEVELOPMENT := gen_refs_mcgrof_linus REFS_TARGET_DEVELOPMENT += gen_refs_mcgrof_next diff --git a/workflows/linux/Kconfig b/workflows/linux/Kconfig index 797469e60..9667230f0 100644 --- a/workflows/linux/Kconfig +++ b/workflows/linux/Kconfig @@ -126,6 +126,11 @@ config BOOTLINUX_STABLE help This will let you choose from stable Linux trees only. +config BOOTLINUX_STABLE_RC + bool "Stable Linux release candidates" + help + This will let you choose from stable Linux release candidates only. + config BOOTLINUX_DEV bool "Development Linux releases" help @@ -141,6 +146,7 @@ endchoice source "workflows/linux/Kconfig.linus" source "workflows/linux/Kconfig.stable" +source "workflows/linux/Kconfig.stable_rc" source "workflows/linux/Kconfig.dev" source "workflows/linux/Kconfig.modules" source "workflows/linux/Kconfig.next"