From e92a8ae6f8f09ace8c4a8f2517c324c679e7f624 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 28 Apr 2024 18:54:56 -0500 Subject: [PATCH] wip --- selfdrive/updated/updated.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/selfdrive/updated/updated.py b/selfdrive/updated/updated.py index 9084e20..68f097d 100644 --- a/selfdrive/updated/updated.py +++ b/selfdrive/updated/updated.py @@ -86,6 +86,8 @@ def set_consistent_flag(consistent: bool) -> None: os.sync() def parse_release_notes(basedir: str) -> bytes: + # CLEARPILOT + return b"" try: with open(os.path.join(basedir, "RELEASES.md"), "rb") as f: r = f.read().split(b'\n\n', 1)[0] # Slice latest release notes @@ -129,7 +131,8 @@ def dismount_overlay() -> None: def init_overlay() -> None: - + # CLEARPILOT + return # Re-create the overlay if BASEDIR/.git has changed since we created the overlay if OVERLAY_INIT.is_file() and os.path.ismount(OVERLAY_MERGED): git_dir_path = os.path.join(BASEDIR, ".git")