mirror of
https://github.com/ventoy/Ventoy.git
synced 2026-11-03 03:41:57 +00:00
1. Improve the Linux remount feature to make the ISO partition mountable out of the box on mainstream desktop distros.
2. Change the ISO partition dm name to stable /dev/mapper/VentoyPart
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
#!/ventoy/busybox/sh
|
||||
|
||||
. /ventoy/hook/ventoy-hook-lib.sh
|
||||
|
||||
vtlog "####### $0 $* ########"
|
||||
|
||||
for vroot in sysroot newroot root; do
|
||||
if [ -e $vroot/etc/selinux/config ]; then
|
||||
$SED "s/SELINUX=enforcing/SELINUX=permissive/g" -i $vroot/etc/selinux/config
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
$BUSYBOX_PATH/true
|
||||
Reference in New Issue
Block a user