"include/ck/library/utility/conv_common.hpp" did not exist on "917d7a2b1da257f4ae3a2e2525adb6e70f89078f"
Commit f3830520 authored by longpanda's avatar longpanda
Browse files

add debug info

parent 667f5bcc
......@@ -83,6 +83,7 @@ get_ventoy_iso_name() {
}
wait_for_usb_disk_ready() {
vtloop=0
while [ -n "Y" ]; do
usb_disk=$(get_ventoy_disk_name)
vtlog "wait_for_usb_disk_ready $usb_disk ..."
......@@ -97,11 +98,18 @@ wait_for_usb_disk_ready() {
vtlog "wait_for_usb_disk_ready $usb_disk finish"
break
else
let vtloop=vtloop+1
if [ $vtloop -gt 2 ]; then
if [ "$VTLOG" != "$VTOY_PATH/log" ]; then
$VTOY_PATH/tool/vtoydump -f /ventoy/ventoy_os_param -v > $VTLOG
fi
fi
$SLEEP 0.3
fi
done
}
check_usb_disk_ready() {
if echo $1 | $EGREP -q "nvme|mmc|nbd"; then
vtpart2=${1}p2
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment