add support for austrumi64-4.3.5.iso/slacko64-7.0.iso

This commit is contained in:
longpanda
2021-01-15 14:09:59 +08:00
parent 2f45cea46e
commit 807d313cd5
15 changed files with 60 additions and 5 deletions

View File

@@ -102,6 +102,16 @@ wait_for_usb_disk_ready() {
done
}
check_usb_disk_ready() {
if echo $1 | $EGREP -q "nvme|mmc"; then
vtpart2=${1}p2
else
vtpart2=${1}2
fi
[ -e "${vtpart2}" ]
}
is_ventoy_disk() {
if $VTOY_PATH/tool/vtoydump -f $VTOY_PATH/ventoy_os_param -c "$1"; then
$BUSYBOX_PATH/true