From 09ee2a8c51ae7c2fc0c3204228d5f501e471291e Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Wed, 27 Jan 2021 15:39:14 -0800 Subject: [PATCH] fix updated bug that allows for mismatch openpilot/agnos (#19943) --- selfdrive/updated.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/selfdrive/updated.py b/selfdrive/updated.py index 1ddf3d7813..8f19a05e1b 100755 --- a/selfdrive/updated.py +++ b/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")