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

pull/19946/head
Adeeb Shihadeh 2021-01-27 15:39:14 -08:00 committed by GitHub
parent 8bb3c41cfd
commit 09ee2a8c51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

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")