no cross references between updaters (#32168)

* no references

* but keep this
old-commit-hash: cce17dc0c58204d38ab54dc133d537be425fe750
This commit is contained in:
Justin Newberry
2024-04-11 09:52:45 -07:00
committed by GitHub
parent 933dd500c4
commit c5a4a2abbf
2 changed files with 8 additions and 5 deletions
+7 -4
View File
@@ -10,12 +10,15 @@ import unittest
from unittest import mock
import pytest
from openpilot.selfdrive.manager.process import ManagerProcess
from openpilot.selfdrive.test.helpers import processes_context
from openpilot.common.params import Params
from openpilot.system.updated.common import get_consistent_flag
from openpilot.selfdrive.manager.process import ManagerProcess
from openpilot.selfdrive.test.helpers import processes_context
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):
+1 -1
View File
@@ -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")