From 9db432e8fb4b90d0ee6d817dbd0e2be1b3d37539 Mon Sep 17 00:00:00 2001 From: Jason Wen Date: Fri, 10 Apr 2026 04:33:47 -0400 Subject: [PATCH] installer: update cached remote URL during fork installs (#37797) --- selfdrive/ui/installer/installer.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/selfdrive/ui/installer/installer.cc b/selfdrive/ui/installer/installer.cc index fb661b966..0832fbb62 100644 --- a/selfdrive/ui/installer/installer.cc +++ b/selfdrive/ui/installer/installer.cc @@ -144,6 +144,7 @@ int cachedFetch(const std::string &cache) { LOGD("Fetching with cache: %s", cache.c_str()); run(util::string_format("cp -rp %s %s", cache.c_str(), TMP_INSTALL_PATH).c_str()); + run(util::string_format("cd %s && git remote set-url origin %s", TMP_INSTALL_PATH, GIT_URL.c_str()).c_str()); run(util::string_format("cd %s && git remote set-branches --add origin %s", TMP_INSTALL_PATH, migrated_branch.c_str()).c_str()); renderProgress(10);