commit | 6bcc8af6e5a5bf9cc0987305cdfa24d4f6e4afa9 | [log] [tgz] |
---|---|---|
author | Alex Deymo <deymo@google.com> | Wed Mar 02 14:21:02 2016 -0800 |
committer | Alex Deymo <deymo@google.com> | Wed Mar 02 14:35:51 2016 -0800 |
tree | 948ab1b05cd5e245e49a211f2a71073236b15ed7 | |
parent | 5ffc038be6cffd9155fce4f2212ff351415ee7ba [diff] |
Restore labels on /postinstall during recovery. This patch mirrors what was done in the main init.rc to relabel /postinstall. Bug: 27178350 Bug: 27177071 Change-Id: I39cd03f3c55a42c03367957e8c259c9a3155203c
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