fix updated bug that allows for mismatch openpilot/agnos (#19943)

old-commit-hash: 09ee2a8c51ae7c2fc0c3204228d5f501e471291e
This commit is contained in:
Adeeb Shihadeh
2021-01-27 15:39:14 -08:00
committed by GitHub
parent 1a29755702
commit 933f2952bd
+3
View File
@@ -223,6 +223,9 @@ def handle_agnos_update(wait_helper):
if cur_version == updated_version:
return
# prevent an openpilot getting swapped in with a mismatched or partially downloaded agnos
set_consistent_flag(False)
cloudlog.info(f"Beginning background installation for AGNOS {updated_version}")
manifest_path = os.path.join(OVERLAY_MERGED, "installer/updater/update_agnos.json")