Fix non ventoy pickup
All checks were successful
PikaOS Package Build & Release (amd64-v3) / build (push) Successful in 1m9s
All checks were successful
PikaOS Package Build & Release (amd64-v3) / build (push) Successful in 1m9s
This commit is contained in:
parent
92e40c94ee
commit
202e5789f3
2
.github/release-nest-v3
vendored
2
.github/release-nest-v3
vendored
@ -1 +1 @@
|
||||
4
|
||||
5
|
@ -1,4 +1,4 @@
|
||||
pika-live-booster-hooks (1.0-101pika3) pika; urgency=medium
|
||||
pika-live-booster-hooks (1.0-101pika4) pika; urgency=medium
|
||||
|
||||
* Initial release.
|
||||
|
||||
|
@ -40,7 +40,17 @@ if [ "$QUIET_MODE" = false ]
|
||||
then
|
||||
busybox echo '[PikaOS Booster Live Hook]: Searching for Live medium...'
|
||||
fi
|
||||
LIVE_MEDIA="$(busybox blkid | busybox grep "PikaOS 4" | busybox grep "iso9660" | busybox head -n1 | busybox awk -F: '{print $1}')"
|
||||
LIVE_MEDIA="$(busybox blkid | busybox grep "$ISO_LABEL_NAME_PARAM" | busybox grep "iso9660" | busybox head -n1 | busybox awk -F: '{print $1}')"
|
||||
while [ -z "$LIVE_MEDIA" ]
|
||||
do
|
||||
if [ "$QUIET_MODE" = false ]
|
||||
then
|
||||
busybox echo '[PikaOS Booster Live Hook]: Live medium could not be found retrying...'
|
||||
fi
|
||||
LIVE_MEDIA="$(busybox blkid | busybox grep "$ISO_LABEL_NAME_PARAM" | busybox grep "iso9660" | busybox head -n1 | busybox awk -F: '{print $1}')"
|
||||
((c++)) && ((c==10)) && break
|
||||
busybox sleep 5
|
||||
done
|
||||
|
||||
if [ -z "$LIVE_MEDIA" ]
|
||||
then
|
||||
@ -60,7 +70,7 @@ then
|
||||
do
|
||||
if [ "$QUIET_MODE" = false ]
|
||||
then
|
||||
busybox echo '[PikaOS Booster Live Hook]: Ventoy Device not found retrying...'
|
||||
busybox echo '[PikaOS Booster Live Hook]: Ventoy Device could not found retrying...'
|
||||
fi
|
||||
VENTOY_DEVICE="$(busybox blkid | busybox grep "Ventoy" | busybox head -n1 | busybox awk -F: '{print $1}')"
|
||||
((c++)) && ((c==10)) && break
|
||||
|
Loading…
x
Reference in New Issue
Block a user