Skip to content

Commit

Permalink
Include submodules when using vcs import
Browse files Browse the repository at this point in the history
If the ENABLE_RECURSIVE_VCS_IMPORT flag is set to false, then the repository set in .repos is not recursively imported, which is necessary when working with submodules.
  • Loading branch information
yaymalaga authored Oct 18, 2023
1 parent 7e42024 commit 470dd78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ ARG ENABLE_RECURSIVE_VCS_IMPORT="true"
RUN if [[ $ENABLE_RECURSIVE_VCS_IMPORT == 'true' ]]; then \
/usr/local/bin/recursive_vcs_import.py src src/upstream ; \
else \
[[ -f src/target/${VCS_IMPORT_FILE} ]] && vcs import src/upstream < src/target/${VCS_IMPORT_FILE} ; \
[[ -f src/target/${VCS_IMPORT_FILE} ]] && vcs import --recursive src/upstream < src/target/${VCS_IMPORT_FILE} ; \
fi

# remove blacklisted packages from workspace
Expand Down

0 comments on commit 470dd78

Please sign in to comment.