HiKey960: installer: After flashing, reboot the system
At the end of flashall.sh, we should just reboot the system
so it can run, rather then having it sit in fastboot mode
waiting for the user to press the reset button or run the
command themselves.
Change-Id: I2a0d9d82083e82577c822db485964824c844f4cb
Signed-off-by: John Stultz <john.stultz@linaro.org>
diff --git a/installer/hikey960/flash-all.sh b/installer/hikey960/flash-all.sh
index f203c85..62256b8 100755
--- a/installer/hikey960/flash-all.sh
+++ b/installer/hikey960/flash-all.sh
@@ -27,3 +27,4 @@
fastboot flash system "${ANDROID_PRODUCT_OUT}"/system.img
fastboot flash cache "${ANDROID_PRODUCT_OUT}"/cache.img
fastboot flash userdata "${ANDROID_PRODUCT_OUT}"/userdata.img
+fastboot reboot