common: do not abort when recovery-in-boot

when using strict (i.e set -e added by this PR) a build will fail on release when there is no recovery.img. this makes that non-fatal allowing to proceed

Signed-off-by: steadfasterX <steadfasterX@users.noreply.github.com>
This commit is contained in:
steadfasterX 2023-09-26 14:54:04 +02:00 committed by steadfasterX
parent 7724c3effd
commit fcec1c8887
No known key found for this signature in database
GPG Key ID: 018C6BAB0D2E62B5

View File

@ -393,7 +393,7 @@ processRelease() {
echo "$INCREMENTAL_ID" > "$OUT_DIR/$PREFIX-target_files.zip.id";
#Image
unzip -l $OUT_DIR/$PREFIX-target_files.zip | grep -q recovery.img;
unzip -l $OUT_DIR/$PREFIX-target_files.zip | grep -q recovery.img || true;
local hasRecoveryImg="$?";
unzip -l $OUT_DIR/$PREFIX-target_files.zip | grep -q dtbo.img;
local hasDtboImg="$?";