From 39af7165e42c497da58732562da4ed8191cb1b25 Mon Sep 17 00:00:00 2001 From: Tim Crawford Date: Tue, 23 May 2023 07:26:01 -0600 Subject: [PATCH] scripts: Force submodule checkout Some coreboot submodules have their update strategy set to "none". They will not be cloned/updated unless `--checkout` is specified. Fixes building after cloning firmware-open and running `deps.sh`. Signed-off-by: Tim Crawford --- scripts/deps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/deps.sh b/scripts/deps.sh index 13cd662..a902d66 100755 --- a/scripts/deps.sh +++ b/scripts/deps.sh @@ -91,7 +91,7 @@ msg "Downloading GIT LFS artifacts" git lfs pull msg "Initializing submodules" -git submodule update --init --recursive --progress +git submodule update --init --recursive --checkout --progress msg "Installing coreboot commit hook" curl -sSf https://review.coreboot.org/tools/hooks/commit-msg \