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

pull/19946/head
Adeeb Shihadeh 4 years ago committed by GitHub
parent 8bb3c41cfd
commit 09ee2a8c51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      selfdrive/updated.py

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

Loading…
Cancel
Save