Merge "Do not umount roofs even if it is R/W." am: 43567e39dc am: 22782a7269 am: 34e13498dc am: 081c1921e0
am: 4cca10cf7e
Change-Id: I80282a8adc5ab624884cc610e13296a98ac3f396
This commit is contained in:
commit
43e6ea22aa
1 changed files with 2 additions and 1 deletions
|
|
@ -237,7 +237,8 @@ static bool FindPartitionsToUmount(std::vector<MountEntry>* blockDevPartitions,
|
|||
std::string mount_dir(mentry->mnt_dir);
|
||||
// These are R/O partitions changed to R/W after adb remount.
|
||||
// Do not umount them as shutdown critical services may rely on them.
|
||||
if (mount_dir != "/system" && mount_dir != "/vendor" && mount_dir != "/oem") {
|
||||
if (mount_dir != "/" && mount_dir != "/system" && mount_dir != "/vendor" &&
|
||||
mount_dir != "/oem") {
|
||||
blockDevPartitions->emplace(blockDevPartitions->begin(), *mentry);
|
||||
}
|
||||
} else if (MountEntry::IsEmulatedDevice(*mentry)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue