summaryrefslogtreecommitdiff
path: root/script/build/grub
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/build/grub
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/build/grub')
-rwxr-xr-xscript/build/grub/payload2
-rwxr-xr-xscript/build/grub/utils2
2 files changed, 2 insertions, 2 deletions
diff --git a/script/build/grub/payload b/script/build/grub/payload
index f8a49b64..359fc1f7 100755
--- a/script/build/grub/payload
+++ b/script/build/grub/payload
@@ -72,7 +72,7 @@ main()
handle_dependencies()
{
[ -d "grub/" ] || \
- ./fetch grub || \
+ ./update project repo grub || \
err "handle_dependencies: cannot fetch grub"
[ -f "grub/grub-mkstandalone" ] || \
./build grub utils || \
diff --git a/script/build/grub/utils b/script/build/grub/utils
index 3a282f2e..cb80d15d 100755
--- a/script/build/grub/utils
+++ b/script/build/grub/utils
@@ -27,7 +27,7 @@ set -u -e
main()
{
printf "Building GRUB\n"
- [ -d "grub/" ] || ./fetch grub || err "cannot fetch grub"
+ [ -d "grub/" ] || ./update project repo grub || err "cannot fetch grub"
build_grub
}