summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPat Erley <perley@cyngn.com>2016-02-11 18:57:26 -0800
committerPat Erley <perley@cyngn.com>2016-02-11 19:00:24 -0800
commitd8501d9f78d430e5d787821509f04abe60c94505 (patch)
tree7adf8b6485fa0677f53f802845b5c4f0e230197f
parent72319de2869e939c3ce921dcbe10b96cda58c973 (diff)
downloadbootable_recovery-d8501d9f78d430e5d787821509f04abe60c94505.zip
bootable_recovery-d8501d9f78d430e5d787821509f04abe60c94505.tar.gz
bootable_recovery-d8501d9f78d430e5d787821509f04abe60c94505.tar.bz2
recovery: don't override selinux for cache partition
It turns out, file names starting with @ are on the cache partition and we don't want to remount it overriding the selinux context. OPO-428 Change-Id: I661a590c3c70d75a1255b25debad3f2cbeee59e8
-rw-r--r--install.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/install.cpp b/install.cpp
index 5631594..c557cd0 100644
--- a/install.cpp
+++ b/install.cpp
@@ -300,7 +300,6 @@ really_install_package(const char *path, bool* wipe_cache, bool needs_mount)
if (path && needs_mount) {
if (path[0] == '@') {
ensure_path_mounted(path+1);
- remount_no_selinux(path+1);
} else {
ensure_path_mounted(path);
remount_no_selinux(path);