mirror of
https://github.com/yurisieucuti/treble_evolution.git
synced 2024-11-24 10:56:22 +00:00
26 lines
795 B
Diff
26 lines
795 B
Diff
From a3a276b58ccd0a3526c4b7fb7c1cee8285fa3685 Mon Sep 17 00:00:00 2001
|
|
From: Pierre-Hugues Husson <phh@phh.me>
|
|
Date: Mon, 29 Nov 2021 17:49:13 -0500
|
|
Subject: [PATCH 3/5] Don't unmount rw-system.sh binds
|
|
|
|
Change-Id: If9132c21defa8b09879b79a70794c5275d6852d0
|
|
---
|
|
VolumeManager.cpp | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/VolumeManager.cpp b/VolumeManager.cpp
|
|
index dc6fae98..47c8cd40 100644
|
|
--- a/VolumeManager.cpp
|
|
+++ b/VolumeManager.cpp
|
|
@@ -985,6 +985,7 @@ int VolumeManager::unmountAll() {
|
|
while ((mentry = getmntent(fp)) != NULL) {
|
|
auto test = std::string(mentry->mnt_dir);
|
|
if ((StartsWith(test, "/mnt/") &&
|
|
+ !StartsWith(test, "/mnt/phh") &&
|
|
#ifdef __ANDROID_DEBUGGABLE__
|
|
!StartsWith(test, "/mnt/scratch") &&
|
|
#endif
|
|
--
|
|
2.25.1
|
|
|