Skip to content

Commit

Permalink
HACK omni: disable repo sync in roomservice
Browse files Browse the repository at this point in the history
Change-Id: I8fdfb588c946d17dba3cd2f1f35d1abde483ec51
  • Loading branch information
maxwen committed Jan 20, 2024
1 parent fab9574 commit c0bcef9
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions build/tools/roomservice.py
Expand Up @@ -340,9 +340,12 @@ def create_dependency_manifest(dependencies):
if project is not None:
manifest = append_to_manifest(project)
write_to_manifest(manifest)
os.system("rm -fr %s" % target_path)
os.system("rm -fr .repo/projetcs/%s.git" % target_path)
os.system("repo sync --force-sync %s" % target_path)
projects.append(target_path)
if len(projects) > 0:
os.system("repo sync --force-sync --no-clone-bundle %s" % " ".join(projects))
# if len(projects) > 0:
# os.system("repo sync --force-sync %s" % " ".join(projects))


def create_common_dependencies_manifest(dependencies):
Expand Down Expand Up @@ -412,7 +415,7 @@ def fetch_device(device):
# In case a project was written to manifest, but never synced
if project is not None or not check_target_exists(device_dir):
print("syncing the device config")
os.system('repo sync --force-sync --no-clone-bundle %s' % device_dir)
os.system('repo sync --force-sync %s' % device_dir)


if __name__ == '__main__':
Expand Down

0 comments on commit c0bcef9

Please sign in to comment.