summaryrefslogtreecommitdiff
path: root/installer/hikey960/flash-all.sh
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2017-11-21 10:26:53 -0800
committerJohn Stultz <john.stultz@linaro.org>2017-11-21 10:26:53 -0800
commitb71a9efc8e5bbdbb46d403810af42a7d3ec6993a (patch)
tree90845a98b0987c977fc9e61b6a1131aaa83bedb8 /installer/hikey960/flash-all.sh
parent6cd2865887f87923a38798651f111e8170c6ade0 (diff)
downloadhikey-b71a9efc8e5bbdbb46d403810af42a7d3ec6993a.tar.gz
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>
Diffstat (limited to 'installer/hikey960/flash-all.sh')
-rwxr-xr-xinstaller/hikey960/flash-all.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/installer/hikey960/flash-all.sh b/installer/hikey960/flash-all.sh
index f203c856..62256b8a 100755
--- a/installer/hikey960/flash-all.sh
+++ b/installer/hikey960/flash-all.sh
@@ -27,3 +27,4 @@ fastboot flash dts "${ANDROID_PRODUCT_OUT}"/dt.img
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