**[BLOBs Clear]** Remove 7za binrary file
Ventoy CI / build (push) Canceled after 0s
Mirror GitHub to Gitee / Sync-GitHub-to-Gitee (push) Canceled after 0s

I fork from https://github.com/ip7z/7zip and build from source with github Action.

So here we remove the binrary files from Ventoy source tree.
When pack Ventoy we download the pre-built binrary files from https://github.com/ventoy/7zip/releases/
This commit is contained in:
longpanda
2026-10-22 16:10:50 +08:00
parent 513ba6326f
commit 74cff34240
3 changed files with 35 additions and 9 deletions
+35 -9
View File
@@ -5,19 +5,45 @@ VTOY_PATH=$PWD/..
date +"%Y/%m/%d %H:%M:%S" date +"%Y/%m/%d %H:%M:%S"
echo downloading environment ... echo downloading environment ...
wget -q -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/dietlibc-0.34.tar.xz
wget -q -P $VTOY_PATH/DOC/ https://github.com/ventoy/vtoytoolchain/releases/download/1.0/musl-1.2.1.tar.gz wget -P $VTOY_PATH/DOC/ https://github.com/ventoy/vtoytoolchain/releases/download/1.0/musl-1.2.1.tar.gz
wget -q -P $VTOY_PATH/GRUB2/ https://github.com/ventoy/vtoytoolchain/releases/download/1.0/grub-2.04.tar.xz wget -P $VTOY_PATH/GRUB2/ https://github.com/ventoy/vtoytoolchain/releases/download/1.0/grub-2.04.tar.xz
wget -q -O $VTOY_PATH/EDK2/edk2-edk2-stable201911.zip https://codeload.github.com/tianocore/edk2/zip/edk2-stable201911 wget -O $VTOY_PATH/EDK2/edk2-edk2-stable201911.zip https://codeload.github.com/tianocore/edk2/zip/edk2-stable201911
wget -q -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/gcc-linaro-7.4.1-2019.02-x86_64_aarch64-linux-gnu.tar.xz
wget -q -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/aarch64--uclibc--stable-2020.08-1.tar.bz2
wget -q -P /opt/ https://github.com/ventoy/vtoytoolchain/releases/download/1.0/mips-loongson-gcc7.3-2019.06-29-linux-gnu.tar.gz wget -P /opt/ https://github.com/ventoy/vtoytoolchain/releases/download/1.0/mips-loongson-gcc7.3-2019.06-29-linux-gnu.tar.gz
wget -q -O $VTOY_PATH/ExFAT/exfat-1.3.0.zip https://codeload.github.com/relan/exfat/zip/v1.3.0 wget -O $VTOY_PATH/ExFAT/exfat-1.3.0.zip https://codeload.github.com/relan/exfat/zip/v1.3.0
wget -q -O $VTOY_PATH/ExFAT/libfuse-fuse-2.9.9.zip https://codeload.github.com/libfuse/libfuse/zip/fuse-2.9.9 wget -O $VTOY_PATH/ExFAT/libfuse-fuse-2.9.9.zip https://codeload.github.com/libfuse/libfuse/zip/fuse-2.9.9
date +"%Y/%m/%d %H:%M:%S" date +"%Y/%m/%d %H:%M:%S"
echo downloading environment finish... echo downloading environment finish...
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...
sh all_in_one.sh CI sh all_in_one.sh CI
Binary file not shown.
Binary file not shown.