summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-05-15 04:17:50 +0100
committerLeah Rowe <leah@libreboot.org>2023-05-15 04:17:50 +0100
commit66d06afd6c96b24be08436c0b6343a34b1d06027 (patch)
treef259383a8eb0f18ce080ce63ba875755e2983a95
parentc4b0825c5e70697bac187a0a953cf9b8d122162c (diff)
download/coreboot: run extra.sh from cbtree
to my knowledge, this feature has never been used, but lbmk permits resources/coreboot/boardname/extra.sh to execute, as provided by the maintainer, with working directory set to: coreboot/boardname this could be used to extend lbmk in a number of ways for example, it could be used to patch 3rdparty/ it could also be used to break coreboot in creative and novel ways. hint hint.
-rwxr-xr-xresources/scripts/download/coreboot4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/scripts/download/coreboot b/resources/scripts/download/coreboot
index 4f9855dc..91284557 100755
--- a/resources/scripts/download/coreboot
+++ b/resources/scripts/download/coreboot
@@ -188,8 +188,8 @@ prepare_new_coreboot_tree()
# extra.sh can be used for anything
# but should *only* be a last resort
- if [ -f "../../resources/coreboot/${_board}/extra.sh" ]; then
- "../../resources/coreboot/${_board}/extra.sh" || \
+ if [ -f "../../resources/coreboot/${cbtree}/extra.sh" ]; then
+ "../../resources/coreboot/${cbtree}/extra.sh" || \
exit 1
fi
)