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: bf198eeb5eebb1897d04b119559aac371c55613a

Message: update: ventoy-bin 1.0.45-1 upstream release add new `/usr/bin/ventoy-extend-persistence` shortcut

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 4125779..5418bae 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = ventoy-bin
 	pkgdesc = A new multiboot USB solution (Binary)
-	pkgver = 1.0.44
+	pkgver = 1.0.45
 	pkgrel = 1
 	url = http://www.ventoy.net/
 	install = ventoy.install
@@ -14,15 +14,17 @@ pkgbase = ventoy-bin
 	depends = lib32-glibc
 	provides = ventoy
 	conflicts = ventoy
-	source = https://github.com/ventoy/Ventoy/releases/download/v1.0.44/ventoy-1.0.44-linux.tar.gz
+	source = https://github.com/ventoy/Ventoy/releases/download/v1.0.45/ventoy-1.0.45-linux.tar.gz
 	source = ventoy
 	source = ventoyweb
 	source = ventoy-persistent
+	source = ventoy-extend-persistent
 	source = sanitize.patch
-	sha256sums = fd3a3d6e1fd6790d2b2d3937276c5c1ef1c85778d53c131cd9f5ca3e8ea7628e
+	sha256sums = 7fadb5ed661054fbd9c3f5572131a49c2d97501052e47cfbc4e6de9d94904847
 	sha256sums = 1ad5d314e02b84127a5a59f3871eb1d28617218cad07cde3eeddcac391473000
 	sha256sums = c3d4463a878a89d96e5f0bc4e1a43e48f27af5965bd4c977567695d7cf91fe5f
 	sha256sums = 51029745da197dded6e007aee3f30f7ea1aa6e898172a6ea176cc2f3a842d0ff
+	sha256sums = 00dec31721a052d5e6c928e3b38b870959bdb42188f34717898d99c0cef950df
 	sha256sums = d250816de0903a5fc5364ee25914a06b1b1595bcfc72dac84ad016e1d30727c4
 
 pkgname = ventoy-bin
diff --git a/.gitignore b/.gitignore
index c1eabfb..422df6a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,5 +8,6 @@
 !ventoy
 !ventoyweb
 !ventoy-persistent
+!ventoy-extend-persistent
 !sanitize.patch
 !ventoy.install
diff --git a/PKGBUILD b/PKGBUILD
index 19feea8..5ed1092 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 # Contributor: KokaKiwi <kokakiwi+aur@kokakiwi.net>
 
 pkgname=ventoy-bin
-pkgver=1.0.44
+pkgver=1.0.45
 pkgrel=1
 pkgdesc='A new multiboot USB solution (Binary)'
 url='http://www.ventoy.net/'
@@ -14,11 +14,13 @@ provides=("${pkgname%-bin}")
 conflicts=("${pkgname%-bin}")
 install="${pkgname%-bin}.install"
 source=("https://github.com/ventoy/Ventoy/releases/download/v${pkgver}/${pkgname%-bin}-${pkgver}-linux.tar.gz"
-        "${pkgname%-bin}" "${pkgname%-bin}web" "${pkgname%-bin}-persistent" 'sanitize.patch')
-sha256sums=('fd3a3d6e1fd6790d2b2d3937276c5c1ef1c85778d53c131cd9f5ca3e8ea7628e'
+        "${pkgname%-bin}" "${pkgname%-bin}web" "${pkgname%-bin}-persistent" "${pkgname%-bin}-extend-persistent"
+        'sanitize.patch')
+sha256sums=('7fadb5ed661054fbd9c3f5572131a49c2d97501052e47cfbc4e6de9d94904847'
             '1ad5d314e02b84127a5a59f3871eb1d28617218cad07cde3eeddcac391473000'
             'c3d4463a878a89d96e5f0bc4e1a43e48f27af5965bd4c977567695d7cf91fe5f'
             '51029745da197dded6e007aee3f30f7ea1aa6e898172a6ea176cc2f3a842d0ff'
+            '00dec31721a052d5e6c928e3b38b870959bdb42188f34717898d99c0cef950df'
             'd250816de0903a5fc5364ee25914a06b1b1595bcfc72dac84ad016e1d30727c4')
 
 prepare() {
@@ -61,5 +63,5 @@ package() {
   done
 
   msg2 "Creating /usr/bin entries..."
-  install -Dm755 "$srcdir/${pkgname%-bin}"{,web,-persistent} -vt "$pkgdir"/usr/bin/
+  install -Dm755 "$srcdir/${pkgname%-bin}"{,web,-{,extend-}persistent} -vt "$pkgdir"/usr/bin/
 }
diff --git a/ventoy-extend-persistent b/ventoy-extend-persistent
new file mode 100755
index 0000000..9616aa3
--- /dev/null
+++ b/ventoy-extend-persistent
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec /opt/ventoy/ExtendPersistentImg.sh "$@"
diff --git a/ventoy.install b/ventoy.install
index c636636..4a0f822 100644
--- a/ventoy.install
+++ b/ventoy.install
@@ -2,9 +2,13 @@ post_install() {
   printf "$(tput setaf 4)  ->$(tput sgr0; tput bold) %s$(tput sgr0)\n" \
     'NOTE: You can create persistence images for ventoy with the "ventoy-persistent" command,'
   printf "$(tput setaf 4)  ->$(tput sgr0; tput bold) %s$(tput sgr0)\n" \
-    'which is a shortcut to "/opt/ventoy/CreatePersistentImg.sh"'
+    '      and losslessly expand persistence ".dat" files using "ventoy-extend-persistent",'
   printf "$(tput setaf 4)  ->$(tput sgr0; tput bold) %s$(tput sgr0)\n" \
-    '(See https://www.ventoy.net/en/plugin_persistence.html for documentation.)'
+    '      which are shortcuts to "/opt/ventoy/CreatePersistentImg.sh" and'
+  printf "$(tput setaf 4)  ->$(tput sgr0; tput bold) %s$(tput sgr0)\n" \
+    '      "/opt/ventoy/ExtendPersistentImg.sh", respectively.'
+  printf "$(tput setaf 4)  ->$(tput sgr0; tput bold) %s$(tput sgr0)\n" \
+    '      (See https://www.ventoy.net/en/plugin_persistence.html for documentation.)'
 }
 
 post_upgrade() {