summaryrefslogtreecommitdiff
path: root/resources/scripts/build/payload
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-08-17 11:41:58 +0100
committerLeah Rowe <leah@libreboot.org>2023-08-17 11:50:06 +0100
commit0848622799b8c627cd650d848ffa7d592d80b26d (patch)
tree54c9c187d704abb83ba5c7a40f4bce2355b0e165 /resources/scripts/build/payload
parent8459e33bbcbe70cc08f449c3d46f1310c65680a1 (diff)
remove download scripts, consolidate into script
most of them were just calling the gitclone script, so remove them. the grub script was treating gnulib as a dependency. i've now added the ability to grab 1 dependency, in the gitclone script (it should be expanded later to support multiple dependencies) the gitclone script has been renamed to "fetch". the "fetch_trees" script does more or less the same thing, but calls "fetch" and handles multiple revisions if a project needs that this is more efficient, and slightly reduces the code size of lbmk! Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'resources/scripts/build/payload')
-rwxr-xr-xresources/scripts/build/payload/grub2
-rwxr-xr-xresources/scripts/build/payload/seabios2
2 files changed, 2 insertions, 2 deletions
diff --git a/resources/scripts/build/payload/grub b/resources/scripts/build/payload/grub
index 23765f47..0734f8a9 100755
--- a/resources/scripts/build/payload/grub
+++ b/resources/scripts/build/payload/grub
@@ -31,7 +31,7 @@ main()
printf "Creating GRUB payloads and configuration files\n"
[ ! -d "grub/" ] && \
- ./download grub
+ ./fetch grub
[ ! -f "grub/grub-mkstandalone" ] && \
./build module grub
[ ! -d "payload/" ] && \
diff --git a/resources/scripts/build/payload/seabios b/resources/scripts/build/payload/seabios
index f822a019..43973109 100755
--- a/resources/scripts/build/payload/seabios
+++ b/resources/scripts/build/payload/seabios
@@ -53,7 +53,7 @@ check_dependencies()
rm -f ${payloaddir}/* || exit 1
if [ ! -d "seabios/" ]; then
- ./download seabios || exit 1
+ ./fetch seabios || exit 1
fi
}