From 0848622799b8c627cd650d848ffa7d592d80b26d Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Thu, 17 Aug 2023 11:41:58 +0100 Subject: 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 --- resources/scripts/build/payload/grub | 2 +- resources/scripts/build/payload/seabios | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'resources/scripts/build/payload') 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 } -- cgit v1.2.1