commit | 080f522fb9d58a9c47c0c3b79c32a61ba3c2bfc8 | [log] [tgz] |
---|---|---|
author | Alex Deymo <deymo@google.com> | Wed Mar 02 14:21:02 2016 -0800 |
committer | Alex Deymo <deymo@google.com> | Fri Mar 04 15:50:27 2016 -0800 |
tree | 286d1fa9ba661671e42ef322d444a1258775d50a | |
parent | 3a2bb594df4b48c6afb1f029041dd6db0735de58 [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 (cherry picked from commit 6bcc8af6e5a5bf9cc0987305cdfa24d4f6e4afa9) Change-Id: I8320559f014cfb14216dcc350e016fc1db05cb14
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