mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-05-02 06:26:20 -04:00
18.1: fix recovery signing
friendly reminder to take a break when dealing with the same issue for extended periods of time
This commit is contained in:
parent
9293f48b0c
commit
d9238f8385
2 changed files with 50 additions and 7 deletions
|
@ -199,9 +199,9 @@ processRelease() {
|
|||
#Image
|
||||
unzip -l $OUT_DIR/$PREFIX-target_files.zip | grep -q recovery.img;
|
||||
local hasRecoveryImg="$?";
|
||||
if [ "$hasRecoveryImg" == "0" ]; then
|
||||
if [ "$hasRecoveryImg" == "1" ]; then
|
||||
echo -e "\e[0;32mCreating fastboot image\e[0m";
|
||||
"$RELEASETOOLS_PREFIX"img_from_target_files "$bootOnly" "$OUT_DIR/$PREFIX-target_files.zip" \
|
||||
"$RELEASETOOLS_PREFIX"img_from_target_files "$OUT_DIR/$PREFIX-target_files.zip" \
|
||||
"$OUT_DIR/$PREFIX-fastboot.zip";
|
||||
sha512sum "$OUT_DIR/$PREFIX-fastboot.zip" > "$OUT_DIR/$PREFIX-fastboot.zip.sha512sum";
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue