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

Commit 3a0053e8 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Revert "snapuserd: Don't statically link outside of ramdisk."" into main

parents a1188013 14fbf6d3
Loading
Loading
Loading
Loading
+10 −11
Original line number Diff line number Diff line
@@ -145,6 +145,14 @@ cc_defaults {
    ],

    include_dirs: ["bionic/libc/kernel"],
    system_shared_libs: [],

    // snapuserd is started during early boot by first-stage init. At that
    // point, /system is mounted using the "dm-user" device-mapper kernel
    // module. dm-user routes all I/O to userspace to be handled by
    // snapuserd, which would lead to deadlock if we had to handle page
    // faults for its code pages.
    static_executable: true,
}

cc_binary {
@@ -157,7 +165,7 @@ cc_binary {
        "libsnapuserd_client",
    ],
    ramdisk_available: false,
    vendor_ramdisk_available: false,
    vendor_ramdisk_available: true,
}

// This target will install to /system/bin/snapuserd_ramdisk 
@@ -176,15 +184,6 @@ cc_binary {
    vendor_ramdisk_available: false,
    ramdisk: true,
    symlinks: ["snapuserd"],

    system_shared_libs: [],

    // snapuserd is started during early boot by first-stage init. At that
    // point, /system is mounted using the "dm-user" device-mapper kernel
    // module. dm-user routes all I/O to userspace to be handled by
    // snapuserd, which would lead to deadlock if we had to handle page
    // faults for its code pages.
    static_executable: true,
}

cc_defaults {