fix: align pack checks with builder, purge stale packs

This commit is contained in:
Abdessamad Derraz committed 2026-08-06 16:41:47 +02:00
1 parent 966c0e5b59
commit 792bad3fd5
4 files changed
+134

No files matched your search

+5
View File
@@ -477,6 +477,11 @@ def find_undeclared_files(
path_base, by_name, by_path_suffix, data_names,
by_name_lower,
)
if not in_repo:
# Hash fallback: the repo may hold the content under a
# different filename (exos21.rom vs exos21.bin)
_lp, _st = resolve_local_file(f, db, dest_hint=dest)
in_repo = _st not in ("not_found",) and _lp is not None
checks = _parse_validation(f.get("validation"))
undeclared.append(