makedeb


ventoy-bin 1.0.99-0


An utility to directly boot image files without reformating the USB

Click here to go back to the commit logs for ventoy-bin.

Commit:


Hash: 230f41afeb6939e215e7be6cedd2fb1da6c094a4

Message: fix sanitize.patch (add missing hunk)

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 0b960a1..2dbe183 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = ventoy-bin
 	pkgdesc = A new multiboot USB solution (Binary)
 	pkgver = 1.0.37
-	pkgrel = 1
+	pkgrel = 2
 	url = http://www.ventoy.net/
 	arch = i686
 	arch = x86_64
@@ -21,7 +21,7 @@ pkgbase = ventoy-bin
 	sha256sums = 2f98780679299b1c3677ad127e6e99ffa08711b4a8d64cb0a07843a156fae83b
 	sha256sums = 1ad5d314e02b84127a5a59f3871eb1d28617218cad07cde3eeddcac391473000
 	sha256sums = c3d4463a878a89d96e5f0bc4e1a43e48f27af5965bd4c977567695d7cf91fe5f
-	sha256sums = 1f563e2de308d47747b3b346e4ba449c850ebd8a6fb67e4f104e3f81778d2b42
+	sha256sums = d250816de0903a5fc5364ee25914a06b1b1595bcfc72dac84ad016e1d30727c4
 
 pkgname = ventoy-bin
 
diff --git a/PKGBUILD b/PKGBUILD
index 1173b92..ad328b1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
 
 pkgname=ventoy-bin
 pkgver=1.0.37
-pkgrel=1
+pkgrel=2
 pkgdesc='A new multiboot USB solution (Binary)'
 url='http://www.ventoy.net/'
 arch=('i686' 'x86_64')
@@ -17,7 +17,7 @@ source=("https://github.com/ventoy/Ventoy/releases/download/v${pkgver}/${pkgname
 sha256sums=('2f98780679299b1c3677ad127e6e99ffa08711b4a8d64cb0a07843a156fae83b'
             '1ad5d314e02b84127a5a59f3871eb1d28617218cad07cde3eeddcac391473000'
             'c3d4463a878a89d96e5f0bc4e1a43e48f27af5965bd4c977567695d7cf91fe5f'
-            '1f563e2de308d47747b3b346e4ba449c850ebd8a6fb67e4f104e3f81778d2b42')
+            'd250816de0903a5fc5364ee25914a06b1b1595bcfc72dac84ad016e1d30727c4')
 
 prepare() {
   msg2 "Decompress tools..."
diff --git a/sanitize.patch b/sanitize.patch
index de0a5cc..6bd7377 100644
--- a/sanitize.patch
+++ b/sanitize.patch
@@ -6,8 +6,8 @@ Let me do some optimisations.
 If you are interested to improve this patch, welcome to mail me.
 
 diff -ru old/tool/ventoy_lib.sh new/tool/ventoy_lib.sh
---- tool/ventoy_lib.sh	2021-03-06 14:25:30.556838345 +0100
-+++ tool/ventoy_lib.sh	2021-03-06 14:34:05.195619694 +0100
+--- tool/ventoy_lib.sh	2021-03-06 14:54:04.163817366 +0100
++++ tool/ventoy_lib.sh	2021-03-06 14:56:07.053667242 +0100
 @@ -29,7 +29,7 @@
  }
  
@@ -17,11 +17,10 @@ diff -ru old/tool/ventoy_lib.sh new/tool/ventoy_lib.sh
  }
  
  vtoy_gen_uuid() {
-@@ -51,31 +51,6 @@
- }
+@@ -52,30 +52,6 @@
  
  check_tool_work_ok() {
--    
+     
 -    if echo 1 | hexdump > /dev/null; then
 -        vtdebug "hexdump test ok ..."
 -    else
@@ -49,9 +48,18 @@ diff -ru old/tool/ventoy_lib.sh new/tool/ventoy_lib.sh
      vtdebug "tool check success ..."
      ventoy_true
  }
+@@ -264,7 +240,7 @@
+     else
+     vtdebug "format disk by fdisk ..."
+     
+-fdisk $DISK >>./log.txt 2>&1 <<EOF
++fdisk $DISK >>/var/log/ventoy.log 2>&1 <<EOF
+ o
+ n
+ p
 diff -ru old/tool/VentoyWorker.sh new/tool/VentoyWorker.sh
---- tool/VentoyWorker.sh	2021-03-06 14:26:14.606708540 +0100
-+++ tool/VentoyWorker.sh	2021-03-06 14:32:46.595773149 +0100
+--- tool/VentoyWorker.sh	2021-03-06 14:53:26.603866863 +0100
++++ tool/VentoyWorker.sh	2021-03-06 14:55:52.493675465 +0100
 @@ -96,7 +96,7 @@
  if check_tool_work_ok; then
      vtdebug "check tool work ok"
@@ -62,8 +70,8 @@ diff -ru old/tool/VentoyWorker.sh new/tool/VentoyWorker.sh
  fi
  
 diff -ru old/Ventoy2Disk.sh new/Ventoy2Disk.sh
---- Ventoy2Disk.sh	2021-03-06 14:26:32.776656820 +0100
-+++ Ventoy2Disk.sh	2021-03-06 14:32:12.305842867 +0100
+--- Ventoy2Disk.sh	2021-03-06 14:52:52.703911700 +0100
++++ Ventoy2Disk.sh	2021-03-06 14:55:45.943684011 +0100
 @@ -32,46 +32,4 @@
  echo '**********************************************'
  echo ''
@@ -113,8 +121,8 @@ diff -ru old/Ventoy2Disk.sh new/Ventoy2Disk.sh
 -fi
 +./tool/VentoyWorker.sh $*
 diff -ru old/VentoyWeb.sh new/VentoyWeb.sh
---- VentoyWeb.sh	2021-03-06 14:26:59.896581493 +0100
-+++ VentoyWeb.sh	2021-03-06 14:30:24.926073772 +0100
+--- VentoyWeb.sh	2021-03-06 14:54:25.383789486 +0100
++++ VentoyWeb.sh	2021-03-06 14:56:01.253668661 +0100
 @@ -15,12 +15,6 @@
      echo ""
  }