mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-22 14:36:31 +02:00
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.
This commit is contained in:
@@ -188,8 +188,8 @@ prepare_new_coreboot_tree()
|
|||||||
|
|
||||||
# extra.sh can be used for anything
|
# extra.sh can be used for anything
|
||||||
# but should *only* be a last resort
|
# but should *only* be a last resort
|
||||||
if [ -f "../../resources/coreboot/${_board}/extra.sh" ]; then
|
if [ -f "../../resources/coreboot/${cbtree}/extra.sh" ]; then
|
||||||
"../../resources/coreboot/${_board}/extra.sh" || \
|
"../../resources/coreboot/${cbtree}/extra.sh" || \
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user