diff options
| -rw-r--r-- | cmds/installd/otapreopt_chroot.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cmds/installd/otapreopt_chroot.cpp b/cmds/installd/otapreopt_chroot.cpp index 3a87776162..83f01de01e 100644 --- a/cmds/installd/otapreopt_chroot.cpp +++ b/cmds/installd/otapreopt_chroot.cpp @@ -179,6 +179,11 @@ static int otapreopt_chroot(const int argc, char **arg) { // want it for product APKs. Same notes as vendor above. TryExtraMount("product", arg[2], "/postinstall/product"); + // Try to mount the system_ext partition. update_engine doesn't do this for + // us, but we want it for system_ext APKs. Same notes as vendor and product + // above. + TryExtraMount("system_ext", arg[2], "/postinstall/system_ext"); + constexpr const char* kPostInstallLinkerconfig = "/postinstall/linkerconfig"; // Try to mount /postinstall/linkerconfig. we will set it up after performing the chroot if (mount("tmpfs", kPostInstallLinkerconfig, "tmpfs", 0, nullptr) != 0) { |