summaryrefslogtreecommitdiff
path: root/script/update/release
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-12-11 04:59:44 +0000
committerLeah Rowe <leah@libreboot.org>2023-12-11 05:01:39 +0000
commit9558e2fce790b044c33c54dfc58780a66e98b770 (patch)
tree27c3ab9d0ff1a4d903f4d08b68c72c26901d07af /script/update/release
parent7af200a16aa2f8221f7b177add9cd7bfce39b4da (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 'script/update/release')
0 files changed, 0 insertions, 0 deletions