mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-03 04:22:09 +08:00
no cross references between updaters (#32168)
* no references * but keep this old-commit-hash: cce17dc0c58204d38ab54dc133d537be425fe750
This commit is contained in:
@@ -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):
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user