[PATCH 3/3] workflows/linux: add Linus tree URL fallback

Daniel Gomez <[email protected]> Tue, 26 May 2026 14:16:49 +0200
Newsgroups dev.linux.lists.kdevops
Message-ID <[email protected]>
From: Daniel Gomez <[email protected]>

BOOTLINUX_TREE_LINUS_URL has three gated `default` clauses:
`\!USE_LOCAL_LINUX_MIRROR`, `USE_LIBVIRT_MIRROR && GUESTFS &&
\!BOOTLINUX_9P`, and `USE_LIBVIRT_MIRROR && BOOTLINUX_9P`. A
configuration that sets USE_LOCAL_LINUX_MIRROR=y under a non-libvirt
bringup (qsu, for example) matches none of them and the URL resolves
to the empty string, which flows through BOOTLINUX_TREE into
target_linux_git= and target_linux_tree= empty.

Add an unconditional final fallback to DEFAULT_TORVALDS_HTTPS_URL.
The earlier predicate-gated defaults still take precedence whenever
they match. The empty-URL gap predates this series; the qsu backend
is the first non-libvirt bringup to expose it.

Generated-by: Claude AI
Signed-off-by: Daniel Gomez <[email protected]>
---
 workflows/linux/Kconfig.linus | 1 +
 1 file changed, 1 insertion(+)

diff --git a/workflows/linux/Kconfig.linus b/workflows/linux/Kconfig.linus
index b16696a4..4b9a8dc7 100644
--- a/workflows/linux/Kconfig.linus
+++ b/workflows/linux/Kconfig.linus
@@ -50,6 +50,7 @@ config BOOTLINUX_TREE_LINUS_URL
 	default DEFAULT_TORVALDS_HTTPS_URL if !USE_LOCAL_LINUX_MIRROR
 	default $(shell, scripts/append-makefile-vars.sh git:// $(KDEVOPS_DEFAULT_BRIDGE_IP_GUESTFS) /mirror/linux.git) if USE_LIBVIRT_MIRROR && !BOOTLINUX_9P && GUESTFS
 	default "/mirror/linux.git" if USE_LIBVIRT_MIRROR && BOOTLINUX_9P
+	default DEFAULT_TORVALDS_HTTPS_URL
 
 endif # BOOTLINUX_TREE_LINUS
 

-- 
2.53.0