diff options
author | Leah Rowe <leah@libreboot.org> | 2023-08-05 21:13:34 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-08-05 21:13:34 +0100 |
commit | cdd83ab1ce61aa2354184b698e000f8dfe2ba588 (patch) | |
tree | cb56022768229841b5a3ccf998491bf5bfb70974 /resources/coreboot/macbook21/config/libgfxinit_txtmode | |
parent | f18b1859dbc9c8dad8911b16f76585189b68a266 (diff) |
blobs/download: try backup if bad hash on main
At present, the logic only tries backup URLs when an
actual download fails (bad internet connection or the
server is down).
If the main download succeeds, but it has a bad checksum,
the backup download is not attempted.
Since wrongly hashed files are to be assumed useless, we
may aswell delete and try the next file. This will guard
against the possibility of a vendor changing their file,
without changing the file name (non-versioned files, for
example, may be subject to such changes).
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'resources/coreboot/macbook21/config/libgfxinit_txtmode')
0 files changed, 0 insertions, 0 deletions