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: 1612d9498f78586b4c3842647c7151b4cd66aaff
Message: update: ventoy-bin 1.0.22-1
upstream release
diff --git a/.SRCINFO b/.SRCINFO
index 3cbd812..551077a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ventoy-bin
pkgdesc = A new multiboot USB solution (Binary)
- pkgver = 1.0.21
- pkgrel = 2
+ pkgver = 1.0.22
+ pkgrel = 1
url = http://www.ventoy.net/
arch = i686
arch = x86_64
@@ -14,12 +14,12 @@ pkgbase = ventoy-bin
depends = lib32-glibc
provides = ventoy
conflicts = ventoy
- source = https://github.com/ventoy/Ventoy/releases/download/v1.0.21/ventoy-1.0.21-linux.tar.gz
+ source = https://github.com/ventoy/Ventoy/releases/download/v1.0.22/ventoy-1.0.22-linux.tar.gz
source = ventoy
source = sanitize.patch
- sha256sums = 170953248d5b30688d88ceae44cdc95d86a869fe3f58623b494e8ee60b5d2e1e
+ sha256sums = e7d16d14dd3fb067c3b42574d2ffc7356b6e36dab71ae060e336ce89fb9a1d3e
sha256sums = f9f333e21ec211318ab40018e0da3a44d8bae16e36dd6132e7891f8c9df52f1c
- sha256sums = ebd54e274c4c38ea70242f34c2e3de3f48b378d4af9bd6706ba5e1d8676363ef
+ sha256sums = f01eee34e2b8ea1c026b62be3dd0d021b6aca15a37fff62dc0d1881aadfd29bd
pkgname = ventoy-bin
diff --git a/PKGBUILD b/PKGBUILD
index f14dfd7..58950c9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,8 +3,8 @@
# Contributor: KokaKiwi <kokakiwi+aur@kokakiwi.net>
pkgname=ventoy-bin
-pkgver=1.0.21
-pkgrel=2
+pkgver=1.0.22
+pkgrel=1
pkgdesc='A new multiboot USB solution (Binary)'
url='http://www.ventoy.net/'
arch=('i686' 'x86_64')
@@ -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=('170953248d5b30688d88ceae44cdc95d86a869fe3f58623b494e8ee60b5d2e1e'
+sha256sums=('e7d16d14dd3fb067c3b42574d2ffc7356b6e36dab71ae060e336ce89fb9a1d3e'
'f9f333e21ec211318ab40018e0da3a44d8bae16e36dd6132e7891f8c9df52f1c'
- 'ebd54e274c4c38ea70242f34c2e3de3f48b378d4af9bd6706ba5e1d8676363ef')
+ 'f01eee34e2b8ea1c026b62be3dd0d021b6aca15a37fff62dc0d1881aadfd29bd')
prepare() {
msg2 "Decompress tools..."
diff --git a/sanitize.patch b/sanitize.patch
index 089c8e4..ffee449 100644
--- a/sanitize.patch
+++ b/sanitize.patch
@@ -7,17 +7,12 @@ If you are interested to improve this patch, welcome to mail me.
--- Ventoy2Disk.sh
+++ Ventoy2Disk.sh
-@@ -12,48 +12,4 @@
+@@ -18,46 +18,4 @@
echo '**********************************************'
echo ''
--OLDDIR=$PWD
--
--if ! [ -f ./tool/xzcat ]; then
-- if [ -f ${0%Ventoy2Disk.sh}/tool/xzcat ]; then
-- cd ${0%Ventoy2Disk.sh}
-- fi
--fi
+-OLDDIR=$(pwd)
+-PATH=./tool:$PATH
-
-if ! [ -f ./boot/boot.img ]; then
- if [ -d ./grub ]; then
@@ -29,27 +24,30 @@ If you are interested to improve this patch, welcome to mail me.
-fi
-
-echo "############# Ventoy2Disk $* ################" >> ./log.txt
+-date >> ./log.txt
-
-#decompress tool
--if ! [ -f ./tool/ash ]; then
+-if [ -f ./tool/VentoyWorker.sh ]; then
+- echo "no need to decompress tools" >> ./log.txt
+-else
- cd tool
-- chmod +x ./xzcat
+-
+- if [ -f ./xzcat ]; then
+- chmod +x ./xzcat
+- fi
+-
- for file in $(ls *.xz); do
-- ./xzcat $file > ${file%.xz}
+- xzcat $file > ${file%.xz}
- chmod +x ${file%.xz}
- done
- cd ../
--
-- if ! [ -f ./tool/ash ]; then
-- echo 'Failed to decompress tools ...'
-- if [ -n "$OLDDIR" ]; then
-- cd $OLDDIR
-- fi
-- exit 1
-- fi
-fi
-
--./tool/ash ./tool/VentoyWorker.sh $*
+-if [ -f /bin/bash ]; then
+- bash ./tool/VentoyWorker.sh $*
+-else
+- ./tool/ash ./tool/VentoyWorker.sh $*
+-fi
-
-if [ -n "$OLDDIR" ]; then
- cd $OLDDIR
@@ -72,7 +70,7 @@ If you are interested to improve this patch, welcome to mail me.
vtoyfat=vtoyfat_32
fi
-- if echo 1 | ./tool/hexdump > /dev/null; then
+- if echo 1 | hexdump > /dev/null; then
- vtdebug "hexdump test ok ..."
- else
- vtdebug "hexdump test fail ..."
@@ -99,7 +97,7 @@ If you are interested to improve this patch, welcome to mail me.
vtdebug "tool check success ..."
ventoy_true
}
-@@ -137,13 +113,6 @@
+@@ -139,13 +115,6 @@
# fi
# fi