commit | 06e57acf35a4f85faa53b54120c1266f9c171cc6 | [log] [tgz] |
---|---|---|
author | Tianjie Xu <xunchang@google.com> | Mon Jul 11 14:04:08 2016 -0700 |
committer | Tao Bao <tbao@google.com> | Tue Oct 25 22:32:19 2016 -0700 |
tree | 80d0fb9005425e89933b99f5d8a829271eb4a235 | |
parent | 16e88679dc1142cc48ec71712eecd5c7c59a7c03 [diff] |
Skip update-on-boot for bootreason in blacklist Skip the OTA installation when bootreason is 'kernel_panic', 'Panic' etc. Change-Id: Ic1202492bffefa1a9d8d0e691b5af979285e552c Test: On angler, ota installation skips for one bootreason in the blacklist. Bug: 29978689 (cherry picked from commit 27b9fc8a36757235ac3386d66db7d35820c2eb04)
mm -j && m ramdisk-nodeps && m recoveryimage-nodeps # To boot into the new recovery image # without flashing the recovery partition: adb reboot bootloader fastboot boot $ANDROID_PRODUCT_OUT/recovery.img
# After setting up environment and lunch. mmma -j bootable/recovery # Running the tests on device. adb root adb sync data # 32-bit device adb shell /data/nativetest/recovery_unit_test/recovery_unit_test adb shell /data/nativetest/recovery_component_test/recovery_component_test # Or 64-bit device adb shell /data/nativetest64/recovery_unit_test/recovery_unit_test adb shell /data/nativetest64/recovery_component_test/recovery_component_test