fs_mgr: Load DM table as RW for debuggable recoveries
Change-Id: I34ed2c0796e9d16d3ff035f67e3fb45484cd6d77
This commit is contained in:
parent
f28876552b
commit
15f4aa4758
1 changed files with 3 additions and 0 deletions
|
|
@ -155,6 +155,9 @@ bool CreateLogicalPartitions(const LpMetadata& metadata, const std::string& supe
|
|||
CreateLogicalPartitionParams params = {
|
||||
.block_device = super_device,
|
||||
.metadata = &metadata,
|
||||
#if defined(__ANDROID_RECOVERY__) && defined(ALLOW_ADBD_DISABLE_VERITY)
|
||||
.force_writable = true,
|
||||
#endif
|
||||
};
|
||||
for (const auto& partition : metadata.partitions) {
|
||||
if (!partition.num_extents) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue