mirror of
https://github.com/ventoy/Ventoy.git
synced 2026-09-08 08:56:38 +00:00
add mod
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -222,7 +222,9 @@ if [ "$MODE" = "install" ]; then
|
|||||||
cmd=./tool/mkexfatfs_32
|
cmd=./tool/mkexfatfs_32
|
||||||
fi
|
fi
|
||||||
|
|
||||||
chmod +x ./tool/*
|
if [ -d ./tool/ ]; then
|
||||||
|
chmod +x -R ./tool/
|
||||||
|
fi
|
||||||
|
|
||||||
# DiskSize > 32GB Cluster Size use 128KB
|
# DiskSize > 32GB Cluster Size use 128KB
|
||||||
# DiskSize < 32GB Cluster Size use 32KB
|
# DiskSize < 32GB Cluster Size use 32KB
|
||||||
@@ -234,8 +236,6 @@ if [ "$MODE" = "install" ]; then
|
|||||||
|
|
||||||
$cmd -n ventoy -s $cluster_sectors ${DISK}1
|
$cmd -n ventoy -s $cluster_sectors ${DISK}1
|
||||||
|
|
||||||
chmod +x ./tool/vtoy_gen_uuid
|
|
||||||
|
|
||||||
vtinfo "writing data to disk ..."
|
vtinfo "writing data to disk ..."
|
||||||
|
|
||||||
dd status=none conv=fsync if=./boot/boot.img of=$DISK bs=1 count=446
|
dd status=none conv=fsync if=./boot/boot.img of=$DISK bs=1 count=446
|
||||||
|
|||||||
Reference in New Issue
Block a user