Skip to content

Commit

Permalink
recovery: don't override selinux for cache partition
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Pat Erley authored and Steve Kondik committed Sep 4, 2016
1 parent 22ed705 commit a23082f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion install.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,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);
Expand Down

0 comments on commit a23082f

Please sign in to comment.