scripts: Replace download_linux with prepare_linux

`prepare_linux` is capable of determining whether we need to invoke
`build_custom_linux` for building linux from source or `download_linux`
for downloading pre-built.

Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
This commit is contained in:
Ruoqing He
2024-11-11 10:14:55 +08:00
committed by Rob Bradford
parent 906580ee92
commit 3c05626ad1
5 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -80,8 +80,8 @@ if [ "${TEST_ARCH}" == "aarch64" ]; then
guestunmount "$FOCAL_OS_RAW_IMAGE_UPDATE_TOOL_ROOT_DIR"
fi
# Download prebuild linux binaries
download_linux
# Prepare linux image (build from source or download pre-built)
prepare_linux
CFLAGS=""
if [[ "${BUILD_TARGET}" == "${TEST_ARCH}-unknown-linux-musl" ]]; then