From 7363fd28cc09d26257c455c6ccf2515167291c3e Mon Sep 17 00:00:00 2001 From: Marvin Friedrich Date: Thu, 30 Jan 2025 19:02:59 +0100 Subject: [PATCH] base: Pull submodules recursively --- xbstrap/base.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xbstrap/base.py b/xbstrap/base.py index 0da9c20..cf55465 100644 --- a/xbstrap/base.py +++ b/xbstrap/base.py @@ -2568,7 +2568,9 @@ def checkout_src(cfg, src, settings): subprocess.check_call(["git", "rebase", commit], cwd=src.source_dir) if source.get("submodules", False): - subprocess.check_call(["git", "submodule", "update", "--init"], cwd=src.source_dir) + subprocess.check_call( + ["git", "submodule", "update", "--init", "--recursive"], cwd=src.source_dir + ) elif "hg" in source: args = ["hg", "checkout"] if "tag" in source: