makedeb
An utility to directly boot image files without reformating the USB
Click here to go back to the commit logs for ventoy-bin.
Hash: e5217a3a76d62e20c08130f09a360a8b541bc1a1
Message: update: ventoy-bin 1.0.32-1
upstream release
diff --git a/.SRCINFO b/.SRCINFO
index 5d552f6..6dbbf46 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = ventoy-bin
pkgdesc = A new multiboot USB solution (Binary)
- pkgver = 1.0.31
+ pkgver = 1.0.32
pkgrel = 1
url = http://www.ventoy.net/
arch = i686
@@ -14,12 +14,12 @@ pkgbase = ventoy-bin
depends = lib32-glibc
provides = ventoy
conflicts = ventoy
- source = https://github.com/ventoy/Ventoy/releases/download/v1.0.31/ventoy-1.0.31-linux.tar.gz
+ source = https://github.com/ventoy/Ventoy/releases/download/v1.0.32/ventoy-1.0.32-linux.tar.gz
source = ventoy
source = sanitize.patch
- sha256sums = d255e6a1d190c193ddd010cdc49d496e9da972891c0f5d3ab3d3f647970d1835
+ sha256sums = 7d912e0c44df97b1081b06b9fb1d09587e0e64ec585d14e3bb727db3ad0c68a2
sha256sums = 1ad5d314e02b84127a5a59f3871eb1d28617218cad07cde3eeddcac391473000
- sha256sums = 88dd56d98cb98d18cb73a1ca142fbc12769d09343207c6546e934b39d6b760a3
+ sha256sums = 27d6865faadd1d12958f864a2fcd17f9e73f50dbfd0d85cedf4c48585752a62d
pkgname = ventoy-bin
diff --git a/PKGBUILD b/PKGBUILD
index b758f6a..a9e4e41 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# Contributor: KokaKiwi <kokakiwi+aur@kokakiwi.net>
pkgname=ventoy-bin
-pkgver=1.0.31
+pkgver=1.0.32
pkgrel=1
pkgdesc='A new multiboot USB solution (Binary)'
url='http://www.ventoy.net/'
@@ -14,9 +14,9 @@ provides=("${pkgname%-bin}")
conflicts=("${pkgname%-bin}")
source=("https://github.com/ventoy/Ventoy/releases/download/v${pkgver}/${pkgname%-bin}-${pkgver}-linux.tar.gz"
"${pkgname%-bin}" 'sanitize.patch')
-sha256sums=('d255e6a1d190c193ddd010cdc49d496e9da972891c0f5d3ab3d3f647970d1835'
+sha256sums=('7d912e0c44df97b1081b06b9fb1d09587e0e64ec585d14e3bb727db3ad0c68a2'
'1ad5d314e02b84127a5a59f3871eb1d28617218cad07cde3eeddcac391473000'
- '88dd56d98cb98d18cb73a1ca142fbc12769d09343207c6546e934b39d6b760a3')
+ '27d6865faadd1d12958f864a2fcd17f9e73f50dbfd0d85cedf4c48585752a62d')
prepare() {
msg2 "Decompress tools..."
diff --git a/sanitize.patch b/sanitize.patch
index 600e871..43caee1 100644
--- a/sanitize.patch
+++ b/sanitize.patch
@@ -5,9 +5,44 @@ Let me do some optimisations.
If you are interested to improve this patch, welcome to mail me.
---- Ventoy2Disk.sh
-+++ Ventoy2Disk.sh
-@@ -30,44 +18,4 @@
+diff -ru --color old/tool/ventoy_lib.sh new/tool/ventoy_lib.sh
+--- tool/ventoy_lib.sh 2021-01-06 15:01:53.769565092 +0100
++++ tool/ventoy_lib.sh 2021-01-06 15:02:54.579355808 +0100
+@@ -52,30 +52,6 @@
+
+ check_tool_work_ok() {
+
+- if echo 1 | hexdump > /dev/null; then
+- vtdebug "hexdump test ok ..."
+- else
+- vtdebug "hexdump test fail ..."
+- ventoy_false
+- return
+- fi
+-
+- if mkexfatfs -V > /dev/null; then
+- vtdebug "mkexfatfs test ok ..."
+- else
+- vtdebug "mkexfatfs test fail ..."
+- ventoy_false
+- return
+- fi
+-
+- if vtoyfat -T; then
+- vtdebug "vtoyfat test ok ..."
+- else
+- vtdebug "vtoyfat test fail ..."
+- ventoy_false
+- return
+- fi
+-
+ vtdebug "tool check success ..."
+ ventoy_true
+ }
+diff -ru --color old/Ventoy2Disk.sh new/Ventoy2Disk.sh
+--- Ventoy2Disk.sh 2021-01-06 15:02:09.699509722 +0100
++++ Ventoy2Disk.sh 2021-01-06 15:04:23.009060704 +0100
+@@ -30,46 +30,4 @@
echo '**********************************************'
echo ''
@@ -34,9 +69,10 @@ If you are interested to improve this patch, welcome to mail me.
-
- for file in $(ls *.xz); do
- xzcat $file > ${file%.xz}
+- [ -f ./${file%.xz} ] && chmod +x ./${file%.xz}
- [ -f ./$file ] && rm -f ./$file
- done
-- cd $OLDDIR
+- cd ../../
-
- chmod +x -R ./tool/$TOOLDIR
-fi
@@ -48,41 +84,9 @@ If you are interested to improve this patch, welcome to mail me.
-fi
-
-if [ -n "$OLDDIR" ]; then
-- cd $OLDDIR
+- CURDIR=$(pwd)
+- if [ "$CURDIR" != "$OLDDIR" ]; then
+- cd "$OLDDIR"
+- fi
-fi
--
--
+./tool/VentoyWorker.sh $*
---- tool/ventoy_lib.sh
-+++ tool/ventoy_lib.sh
-@@ -52,30 +52,6 @@
-
- check_tool_work_ok() {
-
-- if echo 1 | hexdump > /dev/null; then
-- vtdebug "hexdump test ok ..."
-- else
-- vtdebug "hexdump test fail ..."
-- ventoy_false
-- return
-- fi
--
-- if mkexfatfs -V > /dev/null; then
-- vtdebug "mkexfatfs test ok ..."
-- else
-- vtdebug "mkexfatfs test fail ..."
-- ventoy_false
-- return
-- fi
--
-- if vtoyfat -T; then
-- vtdebug "vtoyfat test ok ..."
-- else
-- vtdebug "vtoyfat test fail ..."
-- ventoy_false
-- return
-- fi
--
- vtdebug "tool check success ..."
- ventoy_true
- }