X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/7d1507906d5178c853aefb652260d6745db1eaef..f2ed81b0040b1e5c7c06469a6fb7a12aa4168897:/INSTALL/ventoy_pack.sh diff --git a/INSTALL/ventoy_pack.sh b/INSTALL/ventoy_pack.sh index 73eb819..b88515a 100644 --- a/INSTALL/ventoy_pack.sh +++ b/INSTALL/ventoy_pack.sh @@ -16,6 +16,7 @@ fi cd ../IMG sh mkcpio.sh +sh mkloopex.sh cd - @@ -60,7 +61,9 @@ cp -a ./tool/ENROLL_THIS_KEY_IN_MOKMANAGER.cer $tmpmnt/ mkdir -p $tmpmnt/tool -cp -a ./tool/mount* $tmpmnt/tool/ +cp -a ./tool/i386/mount.exfat-fuse $tmpmnt/tool/mount.exfat-fuse_i386 +cp -a ./tool/x86_64/mount.exfat-fuse $tmpmnt/tool/mount.exfat-fuse_x86_64 +cp -a ./tool/aarch64/mount.exfat-fuse $tmpmnt/tool/mount.exfat-fuse_aarch64 rm -f $tmpmnt/grub/i386-pc/*.img @@ -95,17 +98,27 @@ rm -f ventoy-${curver}-linux.tar.gz CurDir=$PWD -cd $tmpdir/tool -for file in $(ls); do - if [ "$file" != "xzcat" ] && [ "$file" != "ventoy_lib.sh" ]; then - xz --check=crc32 $file - fi +for d in i386 x86_64 aarch64; do + cd $tmpdir/tool/$d + for file in $(ls); do + if [ "$file" != "xzcat" ]; then + xz --check=crc32 $file + fi + done + cd $CurDir done -cd $CurDir +#chmod +find $tmpdir/ -type d -exec chmod 755 "{}" + +find $tmpdir/ -type f -exec chmod 644 "{}" + +chmod +x $tmpdir/Ventoy2Disk.sh +chmod +x $tmpdir/CreatePersistentImg.sh + tar -czvf ventoy-${curver}-linux.tar.gz $tmpdir + + rm -f ventoy-${curver}-windows.zip cp -a Ventoy2Disk*.exe $tmpdir/ cp -a $LANG_DIR/languages.ini $tmpdir/ventoy/ @@ -118,6 +131,12 @@ zip -r ventoy-${curver}-windows.zip $tmpdir/ rm -rf $tmpdir +cd ../LiveCD +sh livecd.sh +cd $CurDir + +mv ../LiveCD/ventoy*.iso ./ + if [ -e ventoy-${curver}-windows.zip ] && [ -e ventoy-${curver}-linux.tar.gz ]; then echo -e "\n ============= SUCCESS =================\n" else