X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/d551fc2e3ca74e4678c744f86c1e8f5e191f624b..d5b829f8e8c8367b032b4bb57a8fc37701d42e17:/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