Skip to content

Commit 210dca2

Browse files
chucklevermcgrof
authored andcommitted
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 <chuck.lever@oracle.com>
1 parent 7620eee commit 210dca2

3 files changed

Lines changed: 10 additions & 2 deletions

File tree

scripts/gen-refs-default.Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: copyleft-next-0.3.1
22

3-
REF_DEF_OBJS := $(addprefix $(TOPDIR)/workflows/linux/refs/default/, Kconfig.linus Kconfig.next Kconfig.stable)
4-
REF_DEF_SRC := $(addprefix $(TOPDIR)/workflows/linux/refs/static/, linus.yaml next.yaml stable.yaml)
3+
REF_DEF_OBJS := $(addprefix $(TOPDIR)/workflows/linux/refs/default/, Kconfig.linus Kconfig.next Kconfig.stable Kconfig.stable_rc)
4+
REF_DEF_SRC := $(addprefix $(TOPDIR)/workflows/linux/refs/static/, linus.yaml next.yaml stable.yaml stable_rc.yaml)
55

66
KRELEASES_FORCE := $(if $(filter --force,$(KRELEASES_FORCE)),--force,)
77

scripts/gen-refs-user.Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
SRC_URI_HTTPS_LINUS = https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
44
SRC_URI_HTTPS_NEXT = https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
55
SRC_URI_HTTPS_STABLE = https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
6+
SRC_URI_HTTPS_STABLE_RC = https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
67

78
SRC_URI_HTTPS_MCGROF_LINUS = https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux.git
89
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
1819
REFS_TARGET_LINUS := gen_refs_linus
1920
REFS_TARGET_NEXT := gen_refs_next
2021
REFS_TARGET_STABLE := gen_refs_stable
22+
REFS_TARGET_STABLE_RC := gen_refs_stable_rc
2123

2224
REFS_TARGET_DEVELOPMENT := gen_refs_mcgrof_linus
2325
REFS_TARGET_DEVELOPMENT += gen_refs_mcgrof_next

workflows/linux/Kconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,11 @@ config BOOTLINUX_STABLE
126126
help
127127
This will let you choose from stable Linux trees only.
128128

129+
config BOOTLINUX_STABLE_RC
130+
bool "Stable Linux release candidates"
131+
help
132+
This will let you choose from stable Linux release candidates only.
133+
129134
config BOOTLINUX_DEV
130135
bool "Development Linux releases"
131136
help
@@ -141,6 +146,7 @@ endchoice
141146

142147
source "workflows/linux/Kconfig.linus"
143148
source "workflows/linux/Kconfig.stable"
149+
source "workflows/linux/Kconfig.stable_rc"
144150
source "workflows/linux/Kconfig.dev"
145151
source "workflows/linux/Kconfig.modules"
146152
source "workflows/linux/Kconfig.next"

0 commit comments

Comments
 (0)