diff options
author | Leah Rowe <leah@libreboot.org> | 2025-01-04 16:26:22 +0000 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2025-01-04 16:26:22 +0000 |
commit | c762850311a53fe0a19cac9eeb3a21c321188cf0 (patch) | |
tree | bec6d18fdbce9c2a0bd7c88a7e8c49a4f688a607 /config/submodule/coreboot/haswell/vboot/patches | |
parent | 68299ad05caa68ccf30a52bbb5de0c57a0aa1504 (diff) |
vendor.sh: prevent double-nuke
where the nuke command is used, we need the files to be
there; if they're not, it will try to nuke them, which will result
in an error in most cases, but there may be some cases where that
isn't true, for instance if only the Intel ME is needed; it'll be
writing zeroes over zeroes.
we want to only allow technically correct behaviour, because
technically correct is the best kind of correct.
it is theoretically possible that a double-nuke might affect
certain behaviours unpredictably. for example, if vendor.sh
later integrates another tool that works whereby the same command
inserts or nukes depending on a certain condition, but with the
same command, and where that command would return zero in both
cases.
this is a preventative bug fix, because it fixes an issue that
does not yet actually occur in practise.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'config/submodule/coreboot/haswell/vboot/patches')
0 files changed, 0 insertions, 0 deletions