diff options
| author | David Anderson <dvander@google.com> | 2018-10-24 18:41:29 -0700 |
|---|---|---|
| committer | David Anderson <dvander@google.com> | 2018-10-26 13:51:32 -0700 |
| commit | bb1efbd1c603181f1d9817aa43dad546a55aec29 (patch) | |
| tree | fa058c20ba89b05f386e119e190b2475cf9eafaa /libunwindstack/tests/MemoryCacheTest.cpp | |
| parent | 91061cc8231d4889ef8098ac9d3aa6646f20d382 (diff) | |
adbd: Fix adb remount when switching roots during first-stage init.
This patch addresses two issues with adb remount.
First, the blk_device field in fstab_rec will be incorrect if referring
to a device-mapper node (fs_mgr_update_logical_partition must be
called).
Second, devices that are not system-as-root now move their mount point
and chroot to "/" during first-stage init. However, the fstab entry will
have "/system" as its mount point. The new logic now reflects this.
Bug: N/A
Test: adb remount on hikey or device with dynamic partitions
Change-Id: I48b379db49d2def555ea49888c4994fbcf501672
Diffstat (limited to 'libunwindstack/tests/MemoryCacheTest.cpp')
0 files changed, 0 insertions, 0 deletions
