diff --git a/LiveCD/VTOY/ventoy/init.sh b/LiveCD/VTOY/ventoy/init.sh index adf6bd13..8c056011 100644 --- a/LiveCD/VTOY/ventoy/init.sh +++ b/LiveCD/VTOY/ventoy/init.sh @@ -9,4 +9,6 @@ done sleep 5 echo "sh /ventoy/profile.sh" >> /root/.profile + +ln -s /lib /lib64 exec /init diff --git a/LiveCD/livecd.sh b/LiveCD/livecd.sh index 75c74bdc..f952bca5 100644 --- a/LiveCD/livecd.sh +++ b/LiveCD/livecd.sh @@ -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