VentoyLiveCD x86_64

This commit is contained in:
longpanda 2021-02-02 21:04:51 +08:00
parent 08e7da50ef
commit f26a927b3e
2 changed files with 4 additions and 1 deletions

View file

@ -9,4 +9,6 @@ done
sleep 5
echo "sh /ventoy/profile.sh" >> /root/.profile
ln -s /lib /lib64
exec /init

View file

@ -39,7 +39,8 @@ fi
mkdir -p ISO_TMP/EFI/ventoy
cd VTOY_TMP
gcc -O2 -m32 ./ventoy/disksize.c -o ./ventoy/disksize
gcc -O2 ./ventoy/disksize.c -o ./ventoy/disksize
rm -f ./ventoy/disksize.c
find . | cpio -o -H newc | gzip -c -9 > ../ISO_TMP/EFI/ventoy/ventoy.gz
cd .. && rm -rf VTOY_TMP