From d17630782d40e9bb2ae8bb286d685a2c3727b6ce Mon Sep 17 00:00:00 2001 From: John Crispin Date: Tue, 29 Oct 2024 13:53:35 +0100 Subject: [PATCH] scripts/gen_config.py: use -f when installing target feeds This allows overriding target folders from feeds. Signed-off-by: John Crispin --- scripts/gen_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/gen_config.py b/scripts/gen_config.py index 155418916c..1f6fcaab41 100755 --- a/scripts/gen_config.py +++ b/scripts/gen_config.py @@ -203,7 +203,7 @@ for ap in profile.get("additional_packages"): die(f"Error installing additional packages {packages_install} from {feed} feed") if profile.get("external_target", False): - if run_cmd(["./scripts/feeds", "install", profile["target"]]).returncode: + if run_cmd(["./scripts/feeds", "install", "-f", profile["target"]]).returncode: die(f"Error installing external target {profile['target']}") config_output = f"""CONFIG_TARGET_{profile["target"]}=y