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 sleep 5
echo "sh /ventoy/profile.sh" >> /root/.profile echo "sh /ventoy/profile.sh" >> /root/.profile
ln -s /lib /lib64
exec /init exec /init

View File

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