mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-08-28 08:21:14 +00:00
experimental support for loongson mips64el uefi
This commit is contained in:
BIN
IMG/cpio_x86/ventoy/busybox/64h
Normal file
BIN
IMG/cpio_x86/ventoy/busybox/64h
Normal file
Binary file not shown.
BIN
IMG/cpio_x86/ventoy/busybox/ash
Normal file
BIN
IMG/cpio_x86/ventoy/busybox/ash
Normal file
Binary file not shown.
BIN
IMG/cpio_x86/ventoy/busybox/busybox32.xz
Normal file
BIN
IMG/cpio_x86/ventoy/busybox/busybox32.xz
Normal file
Binary file not shown.
BIN
IMG/cpio_x86/ventoy/busybox/busybox64.xz
Normal file
BIN
IMG/cpio_x86/ventoy/busybox/busybox64.xz
Normal file
Binary file not shown.
BIN
IMG/cpio_x86/ventoy/busybox/vtchmod32
Normal file
BIN
IMG/cpio_x86/ventoy/busybox/vtchmod32
Normal file
Binary file not shown.
BIN
IMG/cpio_x86/ventoy/busybox/vtchmod64
Normal file
BIN
IMG/cpio_x86/ventoy/busybox/vtchmod64
Normal file
Binary file not shown.
BIN
IMG/cpio_x86/ventoy/busybox/vtchmod64_musl
Normal file
BIN
IMG/cpio_x86/ventoy/busybox/vtchmod64_musl
Normal file
Binary file not shown.
BIN
IMG/cpio_x86/ventoy/busybox/xzminidec32
Normal file
BIN
IMG/cpio_x86/ventoy/busybox/xzminidec32
Normal file
Binary file not shown.
BIN
IMG/cpio_x86/ventoy/busybox/xzminidec64
Normal file
BIN
IMG/cpio_x86/ventoy/busybox/xzminidec64
Normal file
Binary file not shown.
BIN
IMG/cpio_x86/ventoy/busybox/xzminidec64_musl
Normal file
BIN
IMG/cpio_x86/ventoy/busybox/xzminidec64_musl
Normal file
Binary file not shown.
BIN
IMG/cpio_x86/ventoy/tool/ar
Normal file
BIN
IMG/cpio_x86/ventoy/tool/ar
Normal file
Binary file not shown.
BIN
IMG/cpio_x86/ventoy/tool/inotifyd
Normal file
BIN
IMG/cpio_x86/ventoy/tool/inotifyd
Normal file
Binary file not shown.
BIN
IMG/cpio_x86/ventoy/tool/lz4cat
Normal file
BIN
IMG/cpio_x86/ventoy/tool/lz4cat
Normal file
Binary file not shown.
BIN
IMG/cpio_x86/ventoy/tool/lz4cat64
Normal file
BIN
IMG/cpio_x86/ventoy/tool/lz4cat64
Normal file
Binary file not shown.
20
IMG/cpio_x86/ventoy/tool/ventoy_loader.sh
Normal file
20
IMG/cpio_x86/ventoy/tool/ventoy_loader.sh
Normal file
@@ -0,0 +1,20 @@
|
||||
#!/ventoy/busybox/sh
|
||||
#************************************************************************************
|
||||
# Copyright (c) 2020, longpanda <admin@ventoy.net>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the GNU General Public License as
|
||||
# published by the Free Software Foundation; either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
# General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
#************************************************************************************
|
||||
|
||||
exec /ventoy/busybox/sh
|
86
IMG/cpio_x86/ventoy/tool/vtoytool_install.sh
Normal file
86
IMG/cpio_x86/ventoy/tool/vtoytool_install.sh
Normal file
@@ -0,0 +1,86 @@
|
||||
#!/ventoy/busybox/sh
|
||||
#************************************************************************************
|
||||
# Copyright (c) 2020, longpanda <admin@ventoy.net>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the GNU General Public License as
|
||||
# published by the Free Software Foundation; either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
# General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
#************************************************************************************
|
||||
|
||||
echo "#### install vtoytool #####" >> $VTLOG
|
||||
|
||||
for app in ar inotifyd; do
|
||||
if [ -e $BUSYBOX_PATH/$app ]; then
|
||||
$BUSYBOX_PATH/rm -f $VTOY_PATH/tool/$app
|
||||
$BUSYBOX_PATH/ln -s $BUSYBOX_PATH/$app $VTOY_PATH/tool/$app
|
||||
else
|
||||
$BUSYBOX_PATH/ln -s $VTOY_PATH/tool/$app $BUSYBOX_PATH/$app
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
if $GREP -q aarch64 $VTOY_PATH/ventoy_arch; then
|
||||
for vtdir in $(ls $VTOY_PATH/tool/vtoytool/); do
|
||||
echo "try $VTOY_PATH/tool/vtoytool/$vtdir/ ..." >> $VTLOG
|
||||
if $VTOY_PATH/tool/vtoytool/$vtdir/vtoytool_aa64 --install 2>>$VTLOG; then
|
||||
echo "vtoytool_aa64 OK" >> $VTLOG
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
$BUSYBOX_PATH/cp -a $VTOY_PATH/tool/vtoy_fuse_iso_aa64 $VTOY_PATH/tool/vtoy_fuse_iso
|
||||
$BUSYBOX_PATH/cp -a $VTOY_PATH/tool/unsquashfs_aa64 $VTOY_PATH/tool/vtoy_unsquashfs
|
||||
elif $GREP -q mips64el $VTOY_PATH/ventoy_arch; then
|
||||
for vtdir in $(ls $VTOY_PATH/tool/vtoytool/); do
|
||||
echo "try $VTOY_PATH/tool/vtoytool/$vtdir/ ..." >> $VTLOG
|
||||
if $VTOY_PATH/tool/vtoytool/$vtdir/vtoytool_m64e --install 2>>$VTLOG; then
|
||||
echo "vtoytool_m64e OK" >> $VTLOG
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
# TBD
|
||||
#$BUSYBOX_PATH/cp -a $VTOY_PATH/tool/vtoy_fuse_iso_aa64 $VTOY_PATH/tool/vtoy_fuse_iso
|
||||
#$BUSYBOX_PATH/cp -a $VTOY_PATH/tool/unsquashfs_aa64 $VTOY_PATH/tool/vtoy_unsquashfs
|
||||
else
|
||||
for vtdir in $(ls $VTOY_PATH/tool/vtoytool/); do
|
||||
echo "try $VTOY_PATH/tool/vtoytool/$vtdir/ ..." >> $VTLOG
|
||||
if $VTOY_PATH/tool/vtoytool/$vtdir/vtoytool_64 --install 2>>$VTLOG; then
|
||||
echo "vtoytool_64 OK" >> $VTLOG
|
||||
break
|
||||
fi
|
||||
|
||||
if $VTOY_PATH/tool/vtoytool/$vtdir/vtoytool_32 --install 2>>$VTLOG; then
|
||||
echo "vtoytool_32 OK" >> $VTLOG
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
if $VTOY_PATH/tool/vtoy_fuse_iso_64 -t 2>>$VTLOG; then
|
||||
echo "use vtoy_fuse_iso_64" >>$VTLOG
|
||||
$BUSYBOX_PATH/cp -a $VTOY_PATH/tool/vtoy_fuse_iso_64 $VTOY_PATH/tool/vtoy_fuse_iso
|
||||
else
|
||||
echo "use vtoy_fuse_iso_32" >>$VTLOG
|
||||
$BUSYBOX_PATH/cp -a $VTOY_PATH/tool/vtoy_fuse_iso_32 $VTOY_PATH/tool/vtoy_fuse_iso
|
||||
fi
|
||||
|
||||
if $VTOY_PATH/tool/unsquashfs_64 -t 2>>$VTLOG; then
|
||||
echo "use unsquashfs_64" >>$VTLOG
|
||||
$BUSYBOX_PATH/cp -a $VTOY_PATH/tool/unsquashfs_64 $VTOY_PATH/tool/vtoy_unsquashfs
|
||||
else
|
||||
echo "use unsquashfs_32" >>$VTLOG
|
||||
$BUSYBOX_PATH/cp -a $VTOY_PATH/tool/unsquashfs_32 $VTOY_PATH/tool/vtoy_unsquashfs
|
||||
fi
|
||||
|
||||
fi
|
||||
|
BIN
IMG/cpio_x86/ventoy/tool/zstdcat
Normal file
BIN
IMG/cpio_x86/ventoy/tool/zstdcat
Normal file
Binary file not shown.
BIN
IMG/cpio_x86/ventoy/tool/zstdcat64
Normal file
BIN
IMG/cpio_x86/ventoy/tool/zstdcat64
Normal file
Binary file not shown.
Reference in New Issue
Block a user