X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/05a1b863a66bf72b26e5d87570c4e0e61b9736cd..cb209f9b9e02f3fb3a09a6e88d49bcef9f95511f:/IMG/cpio/ventoy/hook/pclos/disk_hook.sh diff --git a/IMG/cpio/ventoy/hook/pclos/disk_hook.sh b/IMG/cpio/ventoy/hook/pclos/disk_hook.sh index ca91ac8..bf7cb9e 100644 --- a/IMG/cpio/ventoy/hook/pclos/disk_hook.sh +++ b/IMG/cpio/ventoy/hook/pclos/disk_hook.sh @@ -64,6 +64,8 @@ ventoy_os_install_device_mapper() { fi } +wait_for_usb_disk_ready + vtdiskname=$(get_ventoy_disk_name) ventoy_os_install_device_mapper $vtdiskname