diff --git a/openpilot/selfdrive/selfdrived/selfdrived.py b/openpilot/selfdrive/selfdrived/selfdrived.py old mode 100755 new mode 100644 index 7404062c84..19877c2f91 --- a/openpilot/selfdrive/selfdrived/selfdrived.py +++ b/openpilot/selfdrive/selfdrived/selfdrived.py @@ -261,7 +261,10 @@ class SelfdriveD: # Observational only. Do not cache this qualification for authority decisions. # Determine startup event - self.startup_event = EventName.startup if build_metadata.openpilot.comma_remote and build_metadata.tested_channel else EventName.startupMaster + official_starpilot = (build_metadata.openpilot.git_normalized_origin.lower() == 'github.com/starpilothq/starpilot' and + build_metadata.channel in ('stable', 'testing')) + standard_startup = official_starpilot or (build_metadata.openpilot.comma_remote and build_metadata.tested_channel) + self.startup_event = EventName.startup if standard_startup else EventName.startupMaster if HARDWARE.get_device_type() == 'mici': self.startup_event = None if not car_recognized: diff --git a/prebuilt.json b/prebuilt.json index 7481729ca4..0cadeabb20 100644 --- a/prebuilt.json +++ b/prebuilt.json @@ -1 +1 @@ -{"protected_inventory_sha256": "6005222f66e56cb4a18b863866ccec23e20633d8172dd6cb2b48ba8dedbf071c", "schema_version": 1} +{"protected_inventory_sha256": "9393f61a709f51cbb1e21daba64860b3ac99a60d3b852b6905385aaea6134e3a", "schema_version": 1}