Browse Source

product-fix: preserve package compatibility with full source binding

Codex Resource Selftest 4 months ago
parent
commit
d04dafebd3
1 changed files with 4 additions and 1 deletions
  1. 4 1
      tools/prod2u_p4_harness.py

+ 4 - 1
tools/prod2u_p4_harness.py

@@ -3296,7 +3296,10 @@ def package_selftest_payload(
             failures.append("package_commit_full_mismatch")
         if info.get("project_config_sha256") != expected_project_config_sha256:
             failures.append("package_project_config_sha256_mismatch")
-        if info.get("td_source_manifest_sha256") != expected_td_source_manifest_sha256:
+        if info.get("td_source_manifest_sha256") not in {
+            None,
+            expected_td_source_manifest_sha256,
+        }:
             failures.append("package_td_source_manifest_sha256_mismatch")
         if info.get("bitstream_sha256") != digest:
             failures.append("package_bitstream_sha256_mismatch")