Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 842ede79 authored by Alex Light's avatar Alex Light Committed by Automerger Merge Worker
Browse files

Merge "Try to mount and compile system_ext apks." am: ce1f9f94

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1676172

Change-Id: I03c48f7fdb21c96de4f9ccd5cba78cd530c11bff
parents 14bde8df ce1f9f94
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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) {