diff options
author | Pat Erley <perley@cyngn.com> | 2016-02-04 17:17:49 -0800 |
---|---|---|
committer | Tom Marshall <tdm.code@gmail.com> | 2017-09-17 16:59:26 +0000 |
commit | 567775ff59c4b03e4bc732dea5f2b7c00d1472f3 (patch) | |
tree | 2b388093f2c0bec549e7d0e6fc1b0d62353196f9 | |
parent | b508e8dc34a8fa0c3b0da899ca63b61f1d09f561 (diff) | |
download | android_bootable_recovery-567775ff59c4b03e4bc732dea5f2b7c00d1472f3.tar.gz android_bootable_recovery-567775ff59c4b03e4bc732dea5f2b7c00d1472f3.tar.bz2 android_bootable_recovery-567775ff59c4b03e4bc732dea5f2b7c00d1472f3.zip |
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
-rw-r--r-- | install.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/install.cpp b/install.cpp index 55b11ce6..08b1bba1 100644 --- a/install.cpp +++ b/install.cpp @@ -596,8 +596,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); } } |