commit | 27b9fc8a36757235ac3386d66db7d35820c2eb04 | [log] [tgz] |
---|---|---|
author | Tianjie Xu <xunchang@google.com> | Mon Jul 11 14:04:08 2016 -0700 |
committer | Tianjie Xu <xunchang@google.com> | Mon Jul 11 18:37:34 2016 -0700 |
tree | b6629e0546870dcc3155c318b4060b8ea39f7fad | |
parent | 6d089a955f53ddeacdfa1396ad99f0c00d406175 [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
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