From: longpanda Date: Tue, 2 Feb 2021 13:04:51 +0000 (+0800) Subject: VentoyLiveCD x86_64 X-Git-Tag: v1.0.34~6 X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/commitdiff_plain/f26a927b3e2acf16820d118d5fc13b5dacbd122a VentoyLiveCD x86_64 --- diff --git a/LiveCD/VTOY/ventoy/init.sh b/LiveCD/VTOY/ventoy/init.sh index adf6bd1..8c05601 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 75c74bd..f952bca 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