Commit c25c3b50 authored by Mark Wagie's avatar Mark Wagie

patch update

parent 47195d18
......@@ -5,7 +5,7 @@
pkgname=ventoy
pkgver=1.0.18
pkgrel=1
pkgrel=2
pkgdesc='A new multiboot USB solution'
url='http://www.ventoy.net/'
arch=('i686' 'x86_64')
......@@ -16,7 +16,7 @@ source=("https://github.com/ventoy/Ventoy/releases/download/v$pkgver/$pkgname-$p
'sanitize.patch')
sha256sums=('76aa7acd5ce6a49f7a77275d5ce7f8c500181ef89d17daade8778cff1f194e20'
'f9f333e21ec211318ab40018e0da3a44d8bae16e36dd6132e7891f8c9df52f1c'
'c0622d25259e143e0528a632eb91347964b1d78d8fbd1dc5812edc34bf32db47')
'b042d5b525427a65b566aaf6bef5fd3091c4f543fcd8e3e23055fd35b7d73dbb')
prepare() {
cd "$pkgname-$pkgver/tool"
......@@ -27,8 +27,8 @@ prepare() {
rm -fv ./*.xz
# cd "$pkgname-$pkgver"
# patch -p0 < "$srcdir/sanitize.patch"
cd "$srcdir/$pkgname-$pkgver"
patch -p0 < "$srcdir/sanitize.patch"
rm -fv tool/{mkextfatfs_{32,64},mount.exfat-fuse_{32,64},ash,hexdump,xzcat}
}
......
......@@ -7,7 +7,7 @@ If you are interested to improve this patch, welcome to mail me.
--- Ventoy2Disk.sh
+++ Ventoy2Disk.sh
@@ -8,43 +8,4 @@
@@ -8,48 +8,4 @@
echo '***********************************************************'
echo ''
......@@ -42,14 +42,19 @@ If you are interested to improve this patch, welcome to mail me.
-
- if ! [ -f ./tool/ash ]; then
- echo 'Failed to decompress tools ...'
- cd $OLDDIR
- if [ -n "$OLDDIR" ]; then
- cd $OLDDIR
- fi
- exit 1
- fi
-fi
-
-./tool/ash ./tool/VentoyWorker.sh $*
-
-cd $OLDDIR
-if [ -n "$OLDDIR" ]; then
- cd $OLDDIR
-fi
-
-
+./tool/VentoyWorker.sh $*
--- tool/ventoy_lib.sh
......@@ -95,8 +100,8 @@ If you are interested to improve this patch, welcome to mail me.
ventoy_true
}
@@ -137,13 +113,6 @@
fi
fi
# fi
# fi
- # PART1_TYPE=$(dd if=$DISK bs=1 count=1 skip=450 status=none | ./tool/hexdump -n1 -e '1/1 "%02X"')
- # if [ "$PART1_TYPE" != "07" ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment