Skip to content

Commit

Permalink
update ventoy_pack.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ventoy committed May 24, 2020
1 parent a54b6f6 commit a2d732c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions INSTALL/ventoy_pack.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

dos2unix -q ./tool/ventoy_lib.sh

. ./tool/ventoy_lib.sh

GRUB_DIR=../GRUB2/INSTALL
Expand Down Expand Up @@ -76,6 +78,7 @@ xz --check=crc32 $tmpdir/boot/core.img
cp -a ./tool $tmpdir/
cp -a Ventoy2Disk.sh $tmpdir/

dos2unix -q $tmpdir/Ventoy2Disk.sh

#32MB disk img
dd status=none if=$LOOP of=$tmpdir/ventoy/ventoy.disk.img bs=512 count=$VENTOY_SECTOR_NUM skip=$part2_start_sector
Expand Down

0 comments on commit a2d732c

Please sign in to comment.