Skip to content

Commit 8dd78b1

Browse files
committed
build: update Espressif IDF submodule initialization
Ensure the Espressif IDF submodules are updated and initialized correctly during the setup process. Signed-off-by: Chiho Sin <[email protected]>
1 parent b894230 commit 8dd78b1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

entrypoint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ if [[ ${CPY_PORT} == "espressif" ]]; then
3131
export IDF_PATH=/workspace/ports/espressif/esp-idf
3232
export IDF_TOOLS_PATH=/workspace/.idf_tools
3333
export ESP_ROM_ELF_DIR=/workspace/.idf_tools
34+
cd ${IDF_PATH} && git submodule update --init --depth=1 --recursive && git repack -d && cd /workspace
3435
/workspace/ports/espressif/esp-idf/install.sh > /dev/null 2>&1
3536
# trunk-ignore(shellcheck/SC1091)
3637
source "${IDF_PATH}/export.sh"

0 commit comments

Comments
 (0)