no cross references between updaters (#32168)

* no references

* but keep this
old-commit-hash: cce17dc0c5
pull/32199/head
Justin Newberry 1 year ago committed by GitHub
parent 933dd500c4
commit c5a4a2abbf
  1. 9
      selfdrive/updated/tests/test_base.py
  2. 2
      selfdrive/updated/updated.py

@ -10,12 +10,15 @@ import unittest
from unittest import mock
import pytest
from openpilot.common.params import Params
from openpilot.selfdrive.manager.process import ManagerProcess
from openpilot.selfdrive.test.helpers import processes_context
from openpilot.selfdrive.test.helpers import processes_context
from openpilot.common.params import Params
from openpilot.system.updated.common import get_consistent_flag
def get_consistent_flag(path: str) -> bool:
consistent_file = pathlib.Path(os.path.join(path, ".overlay_consistent"))
return consistent_file.is_file()
def run(args, **kwargs):

@ -16,9 +16,9 @@ from markdown_it import MarkdownIt
from openpilot.common.basedir import BASEDIR
from openpilot.common.params import Params
from openpilot.common.time import system_time_valid
from openpilot.system.hardware import AGNOS, HARDWARE
from openpilot.common.swaglog import cloudlog
from openpilot.selfdrive.controls.lib.alertmanager import set_offroad_alert
from openpilot.system.hardware import AGNOS, HARDWARE
from openpilot.system.version import get_build_metadata
LOCK_FILE = os.getenv("UPDATER_LOCK_FILE", "/tmp/safe_staging_overlay.lock")

Loading…
Cancel
Save