fix: restore submodule working trees in Docker script

Same fix as setup_and_run.sh — git submodule update --init resets
working tree files, so checkout is needed after init.
This commit is contained in:
Arseniy Klempner 2026-05-12 13:55:27 -06:00
parent 1a01e93c02
commit 979a715b34
No known key found for this signature in database
GPG Key ID: 51653F18863BD24B

View File

@ -82,7 +82,11 @@ cd logos-chat
# Init submodules (lssa needs full history for auto-sync)
git submodule update --init --depth 1
(cd vendor/logos-lez-rln && git submodule update --init lssa && \
git submodule update --init --depth 1 logos-delivery logos-delivery-module logos-execution-zone-module)
git submodule update --init --depth 1 logos-delivery logos-delivery-module logos-execution-zone-module && \
git checkout -- . && \
for d in lssa logos-delivery logos-delivery-module logos-execution-zone-module; do \
(cd "$d" && git checkout -- .); \
done)
(cd vendor/logos-lez-rln/logos-delivery-module && git submodule update --init --depth 1 vendor/logos-delivery)
# Symlink pre-built nix modules from image