retry submodule checkout on internal installer

pull/22466/head
Adeeb Shihadeh 4 years ago
parent ec403da78f
commit e424f7182c
  1. 1
      selfdrive/ui/installer/installer.cc

@ -196,6 +196,7 @@ void Installer::cloneFinished(int exitCode, QProcess::ExitStatus exitStatus) {
param.close();
}
run("cd " INSTALL_PATH " && "
"git submodule update --init && "
"git remote set-url origin --push " GIT_SSH_URL " && "
"git config remote.origin.fetch \"+refs/heads/*:refs/remotes/origin/*\"");
#endif

Loading…
Cancel
Save