fix: accept RomM files on size and any hash

RomM's verify_file_hashes compares the size, then md5, sha1 or crc. We
compared md5 alone, so a fixture entry with one mistyped hash was left out
of the pack RomM would accept it from. The rule is declared in romm.yml
and read by verify, the builder and the manifest.
This commit is contained in:
Abdessamad Derraz committed 2026-10-18 07:24:33 +02:00
1 parent 731faee6e1
commit ae3dc63bc3
10 files changed
+182 -20

No files matched your search

+2
View File
@@ -221,6 +221,8 @@ class Scraper(BaseScraper):
"base_destination": "bios",
"hash_type": "sha1",
"verification_mode": "md5",
# Firmware.verify_file_hashes: size, then md5, sha1 or crc.
"hash_rule": "size_and_any_hash",
"systems": systems,
}