]>
glassweightruler.freedombox.rocks Git - Ventoy.git/blob - INSTALL/all_in_one.sh
5 LOG
=$VTOY_PATH/DOC
/build.log
6 [ -f $LOG ] && rm -f $LOG
12 export PATH
=$PATH:/opt
/gcc
-linaro-7.4
.1-2019.02
-x86_64_aarch64-linux-gnu/bin
:/opt
/aarch64
--uclibc--stable-2020.08
-1/bin
:/opt
/mips
-loongson-gcc7.3
-linux-gnu/2019.06-29/bin
/:/opt
/mips64el
-linux-musl-gcc730/bin
/
15 echo "build grub2 ..."
17 sh buildgrub.sh
>> $LOG 2>&1 || exit 1
21 sh buildipxe.sh
>> $LOG 2>&1 || exit 1
25 sh buildedk.sh
>> $LOG 2>&1 || exit 1
30 # We almost rarely modifiy these code, so no need to build them everytime
31 # If you want to rebuild them, just uncomment them.
34 #cd $VTOY_PATH/VtoyTool
35 #sh build.sh || exit 1
37 #cd $VTOY_PATH/vtoyfat/fat_io_lib
40 #cd $VTOY_PATH/vtoyfat
41 #sh build.sh || exit 1
43 #cd $VTOY_PATH/vtoygpt
44 #sh build.sh || exit 1
46 #cd $VTOY_PATH/FUSEISO
52 # sh buidlibfuse.sh || exit 1
53 # sh buidexfat.sh || exit 1
54 # /bin/cp -a EXFAT/shared/mkexfatfs $VTOY_PATH/INSTALL/tool/mkexfatfs_64
55 # /bin/cp -a EXFAT/shared/mount.exfat-fuse $VTOY_PATH/INSTALL/tool/mount.exfat-fuse_64
58 # cd $VTOY_PATH/SQUASHFS/SRC
64 # cd $VTOY_PATH/SQUASHFS/squashfs-tools-4.4/squashfs-tools
67 # cd $VTOY_PATH/VBLADE/vblade-master
72 if [ "$1" = "CI" ]; then
74 sed "s/VENTOY_VERSION=.*/VENTOY_VERSION=\"$Ver\"/" -i .
/grub
/grub.cfg
77 echo "packing ventoy-$Ver ..."
78 sh ventoy_pack.sh
$1 >> $LOG 2>&1 || exit 1
80 echo -e '\n============== SUCCESS ==================\n'