1.1 环境搭建:
1.2 安装包:
yum update -y
yum install libXpm net-tools bzip2 wget vim gcc gcc-c++ samba dos2unix glibc-devel glibc.i686 glibc-devel.i686 mpfr.i686 mpfr-devel.i686 zlib.i686 rsync autogen autoconf automake libtool gettext* bison binutils flex device-mapper-devel SDL libpciaccess libusb freetype freetype-devel gnu-free-* qemu-* virt-* libvirt* vte* NetworkManager-bluetooth brlapi fuse-devel dejavu* gnu-efi* pesign shim scsi-initiator-utils grub2-tools zip nasm acpica-tools glibc-static zlib-static xorriso -y
2.1 下载源码:
cd /home
git clone "https://github.com/ventoy/Ventoy.git"
mv Ventoy Ventoy-master
2.2下载第三方源码以及工具
wget https://www.fefe.de/dietlibc/dietlibc-0.34.tar.xz -P /home/Ventoy-master/DOC
wget https://musl.libc.org/releases/musl-1.2.1.tar.gz -P /home/Ventoy-master/DOC
wget https://ftp.gnu.org/gnu/grub/grub-2.04.tar.xz -P /home/Ventoy-maste