diff options
| author | Alistair Strachan <astrachan@google.com> | 2018-11-27 17:39:00 -0800 |
|---|---|---|
| committer | Alistair Strachan <astrachan@google.com> | 2018-12-04 11:21:34 -0800 |
| commit | 1906d5f35709773c0f9d81f707e0ec7d4f5dbeb4 (patch) | |
| tree | d986773f24f722d269e0a38fdd0d5a1bb79cf65e /trusty/coverage/coverage.cpp | |
| parent | 4115c2caf6eb038c0acc727d64c7fb8c364e6cc2 (diff) | |
Handle renamed "super" device correctly
In the non-retrofit case, the metadata source partition will be
hardcoded as "super", but such a partition may not exist or may have
been overridden by super_partition=<something>. Make this work reliably
by plumbing the resolved metadata block device through, and using it any
time a partition called "super" is requested.
This also fixes a case in the first_stage_mount code that assumed that
detected a non-A/B, non-retrofit case by assuming the metadata source
partition would be called "super".
Bug: 113175337
Test: boot test on cuttlefish
Change-Id: I8ce1defb902e257eeb7170d697b378eba31faee3
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions
