summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-05-20build/release/roms: handle errors inside subshellLeah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
2023-05-20build/release/roms: split logic into functionsLeah Rowe
main() on top top-down logic 79 chars or less, per line Signed-off-by: Leah Rowe <leah@libreboot.org>
2023-05-20build/release/roms: use tabs for indentationLeah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
2023-05-20build/release/src: 79 chars or less per code lineLeah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
2023-05-20build/release/src: handle errors in subshellsLeah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
2023-05-20build/release/src: split logic into functionsLeah Rowe
main() on top top-down logic Signed-off-by: Leah Rowe <leah@libreboot.org>
2023-05-20build/ich9utils: simplify, fix error handlingLeah Rowe
errors weren't being handled inside a subshell Signed-off-by: Leah Rowe <leah@libreboot.org>
2023-05-20build/memtest86plus: use tabs for indentationLeah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
2023-05-20build/clean/crossgcc: better code styleLeah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
2023-05-20build/descriptors: simplify and fix error handlingLeah Rowe
main() on top some parts of the script weren't erroring properly Signed-off-by: Leah Rowe <leah@libreboot.org>
2023-05-20build/grub: fix inconsistent indentationLeah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
2023-05-20build/grub: implement error handlingLeah Rowe
it uses a subshell, so errors weren't observed Signed-off-by: Leah Rowe <leah@libreboot.org>
2023-05-20build/grub: introduce main(), split it upLeah Rowe
easier to read Signed-off-by: Leah Rowe <leah@libreboot.org>
2023-05-20build/cbutils: remove unnecessary directory checkLeah Rowe
it will already fail if the coreboot download did. if the coreboot download succeeds, the directory exists. Signed-off-by: Leah Rowe <leah@libreboot.org>
2023-05-20build/cbutils: rename function for clarityLeah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
2023-05-20build/cbutil: avoid frivilous use of subshellsLeah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
2023-05-20build/cbutils: top-down coding style, main on topLeah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
2023-05-20build/cbutils: 79 chars or less per lineLeah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
2023-05-20build/cbutils: use tabs for indendationLeah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
2023-05-18gitclone: add my copyright for recent changesLeah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
2023-05-18use env in shell scriptsLeah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
2023-05-18gitclone: only rm the old directory at the endLeah Rowe
this way, it will only be deleted after the new git clone and patching worked successfully Signed-off-by: Leah Rowe <leah@libreboot.org>
2023-05-18gitclone: stricter error handlingLeah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
2023-05-18gitclone: minor cleanupLeah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
2023-05-18gitclone: split logic out of main()Leah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
2023-05-18download/coreboot: minor cleanupLeah Rowe
2023-05-18gitclone: cleaner coding styleLeah Rowe
main() on top top-down logic Signed-off-by: Leah Rowe <leah@libreboot.org>
2023-05-18blobutil/download: minor code cleanupLeah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
2023-05-18modify: clean up duplicated codeLeah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
2023-05-18modify: cleaner coding styleLeah Rowe
main() on top top-down logic reduced indentation Signed-off-by: Leah Rowe <leah@libreboot.org>
2023-05-18build: cleaner coding styleLeah Rowe
main() on top top-down logic reduced indentation Signed-off-by: Leah Rowe <leah@libreboot.org>
2023-05-18build: reduce code to less than 80 chars per lineLeah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
2023-05-18blobutil: exit 1 if a called script failsLeah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
2023-05-18blobutil: cleaner coding styleLeah Rowe
reduced indentation main() on top top-down logic Signed-off-by: Leah Rowe <leah@libreboot.org>
2023-05-18.gitcheck: exit 1 if unsupported argument givenLeah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
2023-05-18.gitcheck: use subshells where appropriateLeah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
2023-05-18.gitcheck: re-add redirection to /dev/nullLeah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
2023-05-18.gitcheck clean: clean coreboot directories tooLeah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
2023-05-18.gitcheck: reduce indentation level for loopLeah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
2023-05-18.gitcheck: move logic out of main()Leah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
2023-05-18.gitcheck: *actually* check coreboot directoriesLeah Rowe
2023-05-18.gitcheck: improved coding styleLeah Rowe
main() on top top-down order of logic Signed-off-by: Leah Rowe <leah@libreboot.org>
2023-05-18.gitcheck: check argv when running gitcheck-cleanLeah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
2023-05-18.gitcheck: actually *run* gitcheck-cleanLeah Rowe
Run() is called, but without argument. This patch fixes that. Signed-off-by: Leah Rowe <leah@libreboot.org>
2023-05-18download: code cleanupLeah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
2023-05-18download: check for non-existent script in loopLeah Rowe
Signed-off-by: Leah Rowe <leah@libreboot.org>
2023-05-18download script: bugfix: gitcheck clean didn't runLeah Rowe
the "placeholder" git credentials were not being wiped, which sometimes overwrites the user's git credentials permanently, when working on lbmk (permanently, until manually reset by the user) Signed-off-by: Leah Rowe <leah@libreboot.org>
2023-05-18download script: improved coding styleLeah Rowe
introduce main() cleaned up the if/else block Signed-off-by: Leah Rowe <leah@libreboot.org>
2023-05-16util/spkmodem_recv: Use pledge but only on OpenBSDLeah Rowe
It will only be used on OpenBSD. Other operating systems will behave in the same way. Pledge is feature specific to OpenBSD that restricts system operations, for security: https://man.openbsd.org/pledge.2 Signed-off-by: Leah Rowe <leah@libreboot.org>
2023-05-16util/spkmodem_recv: Add -u flag (no line buffer)Leah Rowe
printf outputs to stdout, which is line buffered by default. Adding a -u option to disable buffering. Exit when a non-support flag is given, but adhere to current behaviour when no flag is given. Signed-off-by: Leah Rowe <leah@libreboot.org>