Add recovery.img to multistrap release
* Additionally, check out beta-uboot before building recovery to ensure
it uses the uboot that prints the welcome message.
Change-Id: Ie6a84fd4a1afa225485d331656141b2c2fa1d089
diff --git a/kokoro/multistrap-release.sh b/kokoro/multistrap-release.sh
index 736ceac..6cdef57 100644
--- a/kokoro/multistrap-release.sh
+++ b/kokoro/multistrap-release.sh
@@ -27,11 +27,19 @@
unset USERSPACE_ARCH
done
+# Build the recovery partition, using the beta-uboot branch of uboot-imx
+mv ${PRODUCT_OUT}/u-boot.imx ${PRODUCT_OUT}/u-boot.imx.clean
+git -C ${ROOTDIR}/uboot-imx checkout $(git -C ${ROOTDIR}/uboot-imx remote)/beta-uboot
+m docker-recovery
+mv ${PRODUCT_OUT}/u-boot.imx.clean ${PRODUCT_OUT}/u-boot.imx
+
+
ARTIFACTS+="${ROOTDIR}/board/flash.sh "
ARTIFACTS+="${PRODUCT_OUT}/u-boot.imx "
ARTIFACTS+="${PRODUCT_OUT}/partition-table-8gb.img "
ARTIFACTS+="${PRODUCT_OUT}/partition-table-16gb.img "
ARTIFACTS+="${PRODUCT_OUT}/partition-table-64gb.img "
+ARTIFACTS+="${PRODUCT_OUT}/recovery.img "
for arch in ${ARCHES}
do