Files
Ventoy/INSTALL/docker_ci_build.sh
T

50 lines
2.1 KiB
Bash
Raw Normal View History

2021-01-29 14:47:39 +08:00
#!/bin/sh
VTOY_PATH=$PWD/..
2021-04-02 10:08:23 +08:00
date +"%Y/%m/%d %H:%M:%S"
2023-06-23 10:24:36 +02:00
echo downloading environment ...
2021-04-02 10:08:23 +08:00
2026-10-22 16:10:50 +08:00
wget -P $VTOY_PATH/DOC/ https://github.com/ventoy/vtoytoolchain/releases/download/1.0/dietlibc-0.34.tar.xz
wget -P $VTOY_PATH/DOC/ https://github.com/ventoy/vtoytoolchain/releases/download/1.0/musl-1.2.1.tar.gz
wget -P $VTOY_PATH/GRUB2/ https://github.com/ventoy/vtoytoolchain/releases/download/1.0/grub-2.04.tar.xz
wget -O $VTOY_PATH/EDK2/edk2-edk2-stable201911.zip https://codeload.github.com/tianocore/edk2/zip/edk2-stable201911
wget -P /opt/ https://github.com/ventoy/vtoytoolchain/releases/download/1.0/gcc-linaro-7.4.1-2019.02-x86_64_aarch64-linux-gnu.tar.xz
wget -P /opt/ https://github.com/ventoy/vtoytoolchain/releases/download/1.0/aarch64--uclibc--stable-2020.08-1.tar.bz2
wget -P /opt/ https://github.com/ventoy/vtoytoolchain/releases/download/1.0/mips-loongson-gcc7.3-2019.06-29-linux-gnu.tar.gz
2021-01-29 14:47:39 +08:00
2026-10-22 16:10:50 +08:00
wget -O $VTOY_PATH/ExFAT/exfat-1.3.0.zip https://codeload.github.com/relan/exfat/zip/v1.3.0
wget -O $VTOY_PATH/ExFAT/libfuse-fuse-2.9.9.zip https://codeload.github.com/libfuse/libfuse/zip/fuse-2.9.9
2026-10-12 19:17:09 +08:00
2021-04-02 10:08:23 +08:00
date +"%Y/%m/%d %H:%M:%S"
2023-06-23 10:24:36 +02:00
echo downloading environment finish...
2021-04-02 10:08:23 +08:00
2026-10-22 16:10:50 +08:00
date +"%Y/%m/%d %H:%M:%S"
echo downloading upstream pre-built binrary files ...
#7za.exe
echo "download 7za.exe"
mkdir -p $VTOY_PATH/INSTALL/ventoy/7z/64 $VTOY_PATH/INSTALL/ventoy/7z/32
wget -O $VTOY_PATH/INSTALL/ventoy/7z/64/7za https://github.com/ventoy/7zip/releases/download/ventoy-7zip-2605/7za-x64.exe
wget -O $VTOY_PATH/INSTALL/ventoy/7z/32/7za https://github.com/ventoy/7zip/releases/download/ventoy-7zip-2605/7za-x86.exe
wget -O /tmp/7z-checksum https://github.com/ventoy/7zip/releases/download/ventoy-7zip-2605/SHA256SUMS
sed "s#7za-x64.exe#$VTOY_PATH/INSTALL/ventoy/7z/64/7za#g" -i /tmp/7z-checksum
sed "s#7za-x86.exe#$VTOY_PATH/INSTALL/ventoy/7z/32/7za#g" -i /tmp/7z-checksum
sha256sum -c /tmp/7z-checksum || exit 1
echo "7za checksum success"
xz --check=crc32 $VTOY_PATH/INSTALL/ventoy/7z/64/7za
xz --check=crc32 $VTOY_PATH/INSTALL/ventoy/7z/32/7za
#
echo downloading upstream pre-built binrary files finish...
2021-02-02 22:26:23 +08:00
sh all_in_one.sh CI