From c83affa422a8f0a702e32d7977274beb9c248b02 Mon Sep 17 00:00:00 2001 From: firestar5683 <168790843+firestar5683@users.noreply.github.com> Date: Thu, 12 Nov 2026 10:27:47 -0600 Subject: [PATCH] Trust StarPilot with AGNOS 20.5.1 compatibility --- launch_chffrplus.sh | 2 +- openpilot/system/updated/tests/test_vendored_update.py | 2 +- openpilot/system/updated/updated.py | 2 +- prebuilt.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/launch_chffrplus.sh b/launch_chffrplus.sh index 0e0c7b391f..9bf59337e3 100755 --- a/launch_chffrplus.sh +++ b/launch_chffrplus.sh @@ -64,7 +64,7 @@ function update_is_ready { # A validated legacy return records the OS it was staged against. Check it on # every boot before swapping trees, including manual reboots. # Keep this in sync with TRUSTED_LEGACY_RELEASES in updated.py. -TRUSTED_LEGACY_STARPILOT_COMMIT="4a553da9ac22a14e34513c011aed04c1e93b4619" +TRUSTED_LEGACY_STARPILOT_COMMIT="a732375f8ede713379b9a7a98f275a0525482945" function staged_os_is_compatible { local staged="$1" marker="$1/.git/starpilot-retain-agnos" commit diff --git a/openpilot/system/updated/tests/test_vendored_update.py b/openpilot/system/updated/tests/test_vendored_update.py index 05216622d4..6afd9ffca4 100644 --- a/openpilot/system/updated/tests/test_vendored_update.py +++ b/openpilot/system/updated/tests/test_vendored_update.py @@ -301,7 +301,7 @@ class TestVendoredUpdate(unittest.TestCase): with self.assertRaises(ValueError): self.updated.validate_update_revision(str(self.source), target, 'StarPilot') audited = load_updater().TRUSTED_LEGACY_RELEASES - self.assertEqual(audited, {'StarPilot': frozenset({'4a553da9ac22a14e34513c011aed04c1e93b4619'})}) + self.assertEqual(audited, {'StarPilot': frozenset({'a732375f8ede713379b9a7a98f275a0525482945'})}) def test_reserved_readiness_marker_rejected_in_modern_and_legacy_trees(self): for kind in ('modern-file', 'modern-symlink', 'legacy-file', 'legacy-symlink'): diff --git a/openpilot/system/updated/updated.py b/openpilot/system/updated/updated.py index 384c60f0c2..92c61465c8 100755 --- a/openpilot/system/updated/updated.py +++ b/openpilot/system/updated/updated.py @@ -265,7 +265,7 @@ def init_overlay() -> None: # Audited legacy release, pinned by Git commit identity. Other releases must # satisfy the modern source manifest contract. -TRUSTED_LEGACY_RELEASES = {'StarPilot': frozenset({'4a553da9ac22a14e34513c011aed04c1e93b4619'})} +TRUSTED_LEGACY_RELEASES = {'StarPilot': frozenset({'a732375f8ede713379b9a7a98f275a0525482945'})} LEGACY_OS_MARKER = '.git/starpilot-retain-agnos' diff --git a/prebuilt.json b/prebuilt.json index a1f89d3cc9..d86496b99d 100644 --- a/prebuilt.json +++ b/prebuilt.json @@ -1 +1 @@ -{"protected_inventory_sha256": "aa45249338e5ebb541da2c298e37de75f6f7d870c8488b65752dfb0464cb8bd3", "schema_version": 1} +{"protected_inventory_sha256": "a5a262d143e3abd9b4e120e7eea59fb89f1f3c1f2633cfdf34dfbd9af637f92e", "schema_version": 1}