Allow building a branch using unpublished Git submodule changes
Originally created by @anonym on #16476 (Redmine)
If you commit something to a submodule without pushing, and point Tails to use this new commit of the submodule, then building will fail.
Explanation: in the build VM, the locally cloned repo we build from has these submodules configured to track the remote repos, not the host’s repo with contain these unpublushed commits.
Fix: in the build VM, the locally cloned repo we build from must have its submodules tracking the host’s local repos.
Feature Branch: bugfix/16476-clone-submodules-locally-optimized
Related issues
- Related to #16607 (closed)
- Related to #16730 (closed)
- Blocks tails/accounting#15507
Edited by anonym