From 054fa8d47c694d3d8182a27581f209e347823cbe Mon Sep 17 00:00:00 2001 From: Pat Erley Date: Thu, 4 Feb 2016 17:17:49 -0800 Subject: recovery: mount without selinux for update Mount the partition that is storing the OTA with an override so that recovery can read it. Change-Id: Ib87f27d4ca95f1a44de0477198c1de00552c0a8a --- install.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install.cpp b/install.cpp index 48da7f5..5631594 100644 --- a/install.cpp +++ b/install.cpp @@ -300,8 +300,10 @@ 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); } } -- cgit v1.1