1. Improve the Linux remount feature to make the ISO partition mountable out of the box on mainstream desktop distros.
Ventoy CI / build (push) Canceled after 0s
Mirror GitHub to Gitee / Sync-GitHub-to-Gitee (push) Canceled after 0s

2. Change the ISO partition dm name to stable /dev/mapper/VentoyPart
This commit is contained in:
longpanda
2026-10-08 11:10:13 +08:00
parent 432152813e
commit 490ed6ce0f
20 changed files with 288 additions and 71 deletions
@@ -1,15 +1,9 @@
#!/bin/sh
#!/ventoy/busybox/sh
for vroot in sysroot newroot; do
if [ -d $vroot/etc ]; then
if [ -d $vroot/etc/udev/rules.d ]; then
:
else
mkdir -p $vroot/etc/udev/rules.d
fi
cp -a /ventoy/hook/default/90-ventoy-auto.rules $vroot/etc/udev/rules.d/
chmod 0644 $vroot/etc/udev/rules.d/90-ventoy-auto.rules
break
fi
done
. /ventoy/hook/ventoy-hook-lib.sh
vtlog "####### $0 $* ########"
ventoy_copy_udev_auto_rules
$BUSYBOX_PATH/true