From 2da0cefa519f3caee2c6c84069c8067ecfbaa3a7 Mon Sep 17 00:00:00 2001 From: Paul Elliott Date: Thu, 19 Dec 2024 12:38:10 +0000 Subject: [PATCH] Add recursive flag to submodule update With the addition of tf-psa-crypto as a submodule, which itself has framework as a submodule, git submodule calls now need to be recursive Signed-off-by: Paul Elliott --- coverity/push_coverity_scan.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/coverity/push_coverity_scan.py b/coverity/push_coverity_scan.py index 469074aa7..5ea82ee21 100755 --- a/coverity/push_coverity_scan.py +++ b/coverity/push_coverity_scan.py @@ -174,7 +174,8 @@ def build_mbedtls(logger: logging.Logger, mbedtls_dir: pathlib.Path, tools_dir: check=True) logger.log(logging.INFO, result.stdout.decode("utf-8")) - result = run(['git', 'submodule', 'update', '--init'], capture_output=True, check=True) + result = run(['git', 'submodule', 'update', '--init', '--recursive'], capture_output=True, + check=True) logger.log(logging.INFO, result.stdout.decode("utf-8"))