From a2d732c170ca63e51a16299ae23d1a1db14ca020 Mon Sep 17 00:00:00 2001 From: longpanda Date: Sun, 24 May 2020 20:43:31 +0800 Subject: [PATCH] update ventoy_pack.sh --- INSTALL/ventoy_pack.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/INSTALL/ventoy_pack.sh b/INSTALL/ventoy_pack.sh index 8969e482..6701dc97 100644 --- a/INSTALL/ventoy_pack.sh +++ b/INSTALL/ventoy_pack.sh @@ -1,5 +1,7 @@ #!/bin/sh +dos2unix -q ./tool/ventoy_lib.sh + . ./tool/ventoy_lib.sh GRUB_DIR=../GRUB2/INSTALL @@ -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