offroad alert for agnos update (#20270)

albatross
Adeeb Shihadeh 2021-03-07 15:37:09 -08:00 committed by GitHub
parent cd86f94ec7
commit 6e101fd691
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -227,9 +227,11 @@ def handle_agnos_update(wait_helper):
set_consistent_flag(False)
cloudlog.info(f"Beginning background installation for AGNOS {updated_version}")
set_offroad_alert("Offroad_NeosUpdate", True)
manifest_path = os.path.join(OVERLAY_MERGED, "selfdrive/hardware/tici/agnos.json")
flash_agnos_update(manifest_path, cloudlog)
set_offroad_alert("Offroad_NeosUpdate", False)
def handle_neos_update(wait_helper: WaitTimeHelper) -> None: