Fix Persistence intermittently fails on Ubuntu 24.04 (#3718)
Ventoy CI / build (push) Canceled after 0s
Mirror GitHub to Gitee / Sync-GitHub-to-Gitee (push) Canceled after 0s

This commit is contained in:
longpanda
2026-08-06 12:51:19 +08:00
parent 021c237920
commit 6568972abc
3 changed files with 35 additions and 0 deletions
+3
View File
@@ -512,6 +512,9 @@ ventoy_create_persistent_link() {
VTLABEL=casper-rw
fi
echo "$VTLABEL" > $VTOY_PATH/ventoy_persistent_label
echo "/dev/$vtDM" > $VTOY_PATH/ventoy_persistent_dev
vtlog "Persistent Label: ##${VTLABEL}##"
if ! [ -e /dev/disk/by-label/$VTLABEL ]; then