[PATCH 04/12] linux-mirror: remove mirror from automatic make execution

Daniel Gomez <[email protected]> Thu, 06 Nov 2025 23:35:58 +0100
Newsgroups dev.linux.lists.kdevops
Message-ID <[email protected]>
From: Daniel Gomez <[email protected]>

The mirror target was added to LOCALHOST_SETUP_WORK, causing it to run
automatically on every make invocation. This defeats the purpose of the
install_linux_mirror runtime control variable and causes mirror
installation/updates to run unconditionally whenever CONFIG_MIRROR_INSTALL
is enabled.

Mirror installation is a heavyweight localhost setup operation that should
only execute when explicitly requested via 'make mirror', not on every
build system invocation. The install_linux_mirror=True variable provides
proper runtime control when the user explicitly runs the mirror target.

Remove mirror from LOCALHOST_SETUP_WORK so it only executes when explicitly
requested, similar to other setup operations like 'make bringup' or
'make linux'.

Generated-by: Claude AI
Signed-off-by: Daniel Gomez <[email protected]>
---
 Makefile.linux-mirror | 1 -
 1 file changed, 1 deletion(-)

diff --git a/Makefile.linux-mirror b/Makefile.linux-mirror
index 4aa5c780..7be50be6 100644
--- a/Makefile.linux-mirror
+++ b/Makefile.linux-mirror
@@ -26,7 +26,6 @@ mirror-status: $(KDEVOPS_EXTRA_VARS)
 PHONY += mirror-status
 
 ANSIBLE_EXTRA_ARGS += $(LINUX_MIRROR_ARGS)
-LOCALHOST_SETUP_WORK += mirror
 
 mirror-help-menu:
 	@echo "Mirror options:"

-- 
2.51.0