summaryrefslogtreecommitdiff
path: root/resources/coreboot/default/patches/0017-util-ifdtool-fix-bad-patch.patch
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-08-05 21:13:34 +0100
committerLeah Rowe <leah@libreboot.org>2023-08-05 21:13:34 +0100
commitcdd83ab1ce61aa2354184b698e000f8dfe2ba588 (patch)
treecb56022768229841b5a3ccf998491bf5bfb70974 /resources/coreboot/default/patches/0017-util-ifdtool-fix-bad-patch.patch
parentf18b1859dbc9c8dad8911b16f76585189b68a266 (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/default/patches/0017-util-ifdtool-fix-bad-patch.patch')
0 files changed, 0 insertions, 0 deletions