mapd: add to ignored processes list (#993)

* mapd: add to ignored processes list

* executable
This commit is contained in:
Jason Wen
2025-06-08 18:13:24 -04:00
committed by GitHub
parent 49cad4c22e
commit f12d181d3b
4 changed files with 3 additions and 2 deletions

View File

@@ -132,6 +132,7 @@ class SelfdriveD(CruiseHelper):
nvme_expected = os.path.exists('/dev/nvme0n1') or (not os.path.isfile("/persist/comma/living-in-the-moment"))
if HARDWARE.get_device_type() == 'tici' and nvme_expected:
self.ignored_processes = {'loggerd', }
self.ignored_processes.update({'mapd'})
# Determine startup event
self.startup_event = EventName.startup if build_metadata.openpilot.comma_remote and build_metadata.tested_channel else EventName.startupMaster

View File

@@ -1,10 +1,10 @@
#!/usr/bin/env python3
"""
Copyright (c) 2021-, Haibin Wen, sunnypilot, and a number of other contributors.
This file is part of sunnypilot and is licensed under the MIT License.
See the LICENSE.md file in the root directory for more details.
"""
#!/usr/bin/env python3
import logging
import os
import stat

1
sunnypilot/mapd/mapd_manager.py Normal file → Executable file
View File

@@ -1,3 +1,4 @@
#!/usr/bin/env python3
"""
Copyright (c) 2021-, Haibin Wen, sunnypilot, and a number of other contributors.

View File

@@ -78,7 +78,6 @@ class Paths:
else:
return "/data/community/crashes"
@staticmethod
def mapd_root() -> str:
if PC: