From 9bb39d1145de5254d73f345357d28c735a58b25d Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Tue, 29 Sep 2020 21:26:27 -0700 Subject: [PATCH] updated: remove old overlay init file old-commit-hash: 2a2cfd6bb51cc67276b9c21fe70cf1114e1e6f03 --- selfdrive/updated.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/selfdrive/updated.py b/selfdrive/updated.py index 6c06f46ae0..1788816d34 100755 --- a/selfdrive/updated.py +++ b/selfdrive/updated.py @@ -324,6 +324,10 @@ def main(): wait_helper = WaitTimeHelper(proc) wait_helper.sleep(30) + overlay_init = Path(os.path.join(BASEDIR, ".overlay_init")) + if overlay_init.exists(): + overlay_init.unlink() + first_run = True last_fetch_time = 0 update_failed_count = 0