Fix the hardcoded dev/dm-0

This commit is contained in:
longpanda
2022-05-05 19:11:55 +08:00
parent 3263b64b8a
commit 4d4f958429
14 changed files with 89 additions and 35 deletions

View File

@@ -59,7 +59,7 @@ if is_inotify_ventoy_part $3; then
$BUSYBOX_PATH/cp -a $BUSYBOX_PATH/blkid /sbin/blkid
$BUSYBOX_PATH/mkdir -p /dev/mapper
ln -s /dev/$vtDM /dev/mapper/ventoy
/sbin/mgalive-root /dev/dm-0
/sbin/mgalive-root /dev/$vtDM
fi
set_ventoy_hook_finish