X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/05a1b863a66bf72b26e5d87570c4e0e61b9736cd..b0c321dfc8b5b4162781bda5b9548fbbf0a4e735:/INSTALL/tool/ventoy_lib.sh diff --git a/INSTALL/tool/ventoy_lib.sh b/INSTALL/tool/ventoy_lib.sh index 3562927..86317c7 100644 --- a/INSTALL/tool/ventoy_lib.sh +++ b/INSTALL/tool/ventoy_lib.sh @@ -14,16 +14,6 @@ ventoy_true() { } ventoy_is_linux64() { - if [ -e /lib64 ]; then - ventoy_true - return - fi - - if [ -e /usr/lib64 ]; then - ventoy_true - return - fi - if uname -a | egrep -q 'x86_64|amd64'; then ventoy_true return @@ -165,12 +155,12 @@ is_disk_contains_ventoy() { return fi - PART1_TYPE=$(dd if=$DISK bs=1 count=1 skip=450 status=none | ./tool/hexdump -n1 -e '1/1 "%02X"') - if [ "$PART1_TYPE" != "07" ]; then - vtdebug "part1 type is $PART2_TYPE not 07" - ventoy_false - return - fi + # PART1_TYPE=$(dd if=$DISK bs=1 count=1 skip=450 status=none | ./tool/hexdump -n1 -e '1/1 "%02X"') + # if [ "$PART1_TYPE" != "07" ]; then + # vtdebug "part1 type is $PART2_TYPE not 07" + # ventoy_false + # return + # fi if [ -e /sys/class/block/${PART1#/dev/}/start ]; then PART1_START=$(cat /sys/class/block/${PART1#/dev/}/start)