summaryrefslogtreecommitdiff
path: root/script/update/blobs/inject
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-09-01 08:30:08 +0100
committerLeah Rowe <leah@libreboot.org>2023-09-01 08:30:08 +0100
commitb9662fbe3634af2946f0423a021c4f04c983c169 (patch)
tree564ffed7bdfe1ab734d5d15072e5dfe06e8b15a6 /script/update/blobs/inject
parent12b33eb8c18b37546599feec908b9acd829f0029 (diff)
handle project downloads in main lbmk script
this means the unified /tmp handling is now provided for in both the former "fetch" and "fetch_trees" script, which are now (respectively): ./update project repo ./update project trees if the fetch scripts weren't cleaning /tmp before, they now are, because lbmk handles it Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/update/blobs/inject')
-rwxr-xr-xscript/update/blobs/inject3
1 files changed, 2 insertions, 1 deletions
diff --git a/script/update/blobs/inject b/script/update/blobs/inject
index 08bbf41a..7efab2a9 100755
--- a/script/update/blobs/inject
+++ b/script/update/blobs/inject
@@ -123,7 +123,8 @@ detect_board()
build_dependencies()
{
- [ -d "${cbdir}" ] || ./fetch_trees coreboot default
+ [ -d "${cbdir}" ] || ./update project trees coreboot default || \
+ err "build_dependencies: could not download coreboot/default"
./build coreboot utils default || \
err "build_dependencies: could not build cbutils"
./update blobs download ${board} || \