super: Don't mount while prepare

Some of the partitions will not be unmount automatically. They shouldn't
be mounted by default.

Bugs:
DM_DEV_REMOVE failed for [product]: Device or resource busy
Cannot unmap product before removing group qti_dynamic_partitions.
script aborted: assert failed: update_dynamic_partitions(package_extract_file("dynamic_partitions_op_list"))
assert failed: update_dynamic_partitions(package_extract_file("dynamic_partitions_op_list"))error: 25
Updater process ended with ERROR: 7

Change-Id: I7cbd5c29456ca2731b94a69bbf9ad77058cef09c
This commit is contained in:
Simon Shi
2020-06-15 23:57:38 +08:00
parent 6d3bf891c4
commit 407437ed39
-1
View File
@@ -3282,7 +3282,6 @@ bool TWPartitionManager::Prepare_Super_Volume(TWPartition* twrpPart) {
}
twrpPart->Set_Block_Device(fstabEntry.blk_device);
twrpPart->Mount(true);
twrpPart->Update_Size(true);
twrpPart->Change_Mount_Read_Only(true);
twrpPart->Set_Can_Be_Backed_Up(false);