Revert "build: leaf-build: Use correct recovery image"
This reverts commit 29421bd4e5f42dc53ac371a2f08a84029e832a9c.
Reason for revert: This was only a result of recovery.img never being re-signed
Change-Id: I7c0c4c0dce0abc9fb28b96e3465cf4679c6cf4bd
diff --git a/jenkins/leaf-build.sh b/jenkins/leaf-build.sh
index 9c4ee5f..9bb552d 100755
--- a/jenkins/leaf-build.sh
+++ b/jenkins/leaf-build.sh
@@ -249,7 +249,7 @@
rm -f "$TARGET_FILES_DIR/$(cat "$TARGET_FILES_DIR/latest_$JENKINS_FLAVOR")"
fi
unzip -p "$TARGET_FILES_DIR/$JENKINS_DEVICE-target_files-$JENKINS_FLAVOR-$BUILD_ID-signed.zip" \
- OTA/recovery-two-step.img >"$LEAF_PACKAGE-recovery.img"
+ IMAGES/recovery.img >"$LEAF_PACKAGE-recovery.img"
retry_uploading "$LEAF_PACKAGE-recovery.img"
echo "$JENKINS_DEVICE-target_files-$JENKINS_FLAVOR-$BUILD_ID-signed.zip" >"$TARGET_FILES_DIR/latest_$JENKINS_FLAVOR"
fi