mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-10-04 17:26:18 +00:00
update ventoy_pack.sh
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
dos2unix -q ./tool/ventoy_lib.sh
|
||||||
|
|
||||||
. ./tool/ventoy_lib.sh
|
. ./tool/ventoy_lib.sh
|
||||||
|
|
||||||
GRUB_DIR=../GRUB2/INSTALL
|
GRUB_DIR=../GRUB2/INSTALL
|
||||||
@@ -76,6 +78,7 @@ xz --check=crc32 $tmpdir/boot/core.img
|
|||||||
cp -a ./tool $tmpdir/
|
cp -a ./tool $tmpdir/
|
||||||
cp -a Ventoy2Disk.sh $tmpdir/
|
cp -a Ventoy2Disk.sh $tmpdir/
|
||||||
|
|
||||||
|
dos2unix -q $tmpdir/Ventoy2Disk.sh
|
||||||
|
|
||||||
#32MB disk img
|
#32MB disk img
|
||||||
dd status=none if=$LOOP of=$tmpdir/ventoy/ventoy.disk.img bs=512 count=$VENTOY_SECTOR_NUM skip=$part2_start_sector
|
dd status=none if=$LOOP of=$tmpdir/ventoy/ventoy.disk.img bs=512 count=$VENTOY_SECTOR_NUM skip=$part2_start_sector
|
||||||
|
Reference in New Issue
Block a user