diff options
author | 2023-06-15 18:20:19 +0000 | |
---|---|---|
committer | 2023-06-15 18:20:19 +0000 | |
commit | d9154a7aa243eba9ca6ffeb90143b1f31d22dfee (patch) | |
tree | fa25c5b36f5f40269103d117a6aedfe0fa40e6d7 | |
parent | bdac3ea1c249600346f7e3db8949e72b9097338a (diff) | |
parent | 56fd71b0d4466983d8f5c11466a43df1c6c3a998 (diff) |
Merge "Also mount /sys/fs/selinux"
-rw-r--r-- | cmds/installd/otapreopt_chroot.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmds/installd/otapreopt_chroot.cpp b/cmds/installd/otapreopt_chroot.cpp index 1b7acabf70..c86993cb06 100644 --- a/cmds/installd/otapreopt_chroot.cpp +++ b/cmds/installd/otapreopt_chroot.cpp @@ -165,7 +165,8 @@ static int otapreopt_chroot(const int argc, char **arg) { // Bind mount necessary directories. constexpr const char* kBindMounts[] = { - "/data", "/dev", "/proc", "/sys" + "/data", "/dev", "/proc", "/sys", + "/sys/fs/selinux" /* Required for apexd which includes libselinux */ }; for (size_t i = 0; i < arraysize(kBindMounts); ++i) { std::string trg = StringPrintf("/postinstall%s", kBindMounts[i]); |