diff options
author | Leah Rowe <leah@libreboot.org> | 2023-12-11 04:59:44 +0000 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-12-11 05:01:39 +0000 |
commit | 9558e2fce790b044c33c54dfc58780a66e98b770 (patch) | |
tree | 27c3ab9d0ff1a4d903f4d08b68c72c26901d07af /config/coreboot/r400_16mb | |
parent | 7af200a16aa2f8221f7b177add9cd7bfce39b4da (diff) |
improved safety/error handling on multitree git-am
update/trees wasn't correctly returning non-zero status,
even though it was printing an error message, when git-am
failed. this is due to the way subshells work, and it was
overlooked in previous auditing.
additionally: don't directly copy trees to the destination,
instead patch/reset first, then copy only under normal
condition, just as with single-tree projects.
when running build/roms, the script would continue after
a bad git-am, without exit. this patch fixes it in the
most paranoid way possible. i'm now fairly confident that
lbmk will fail gracefully and efficiently, under error
conditions. this should prevent bad image builds.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'config/coreboot/r400_16mb')
0 files changed, 0 insertions, 0 deletions