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

Commit 2f174171 authored by Kiyoung Kim's avatar Kiyoung Kim Committed by Gerrit Code Review
Browse files

Merge "Run linkerconfig from init process"

parents c37f4a41 74c22923
Loading
Loading
Loading
Loading
+7 −0
Original line number Original line Diff line number Diff line
@@ -38,6 +38,13 @@ on early-init
    # Allow up to 32K FDs per process
    # Allow up to 32K FDs per process
    setrlimit nofile 32768 32768
    setrlimit nofile 32768 32768


    # Create directory to keep ld.config.txt
    mkdir /dev/linkerconfig 0755

    # Generate ld.config.txt for early executed processes
    exec -- /system/bin/linkerconfig --target /dev/linkerconfig/ld.config.txt
    chmod 444 /dev/linkerconfig/ld.config.txt

    start ueventd
    start ueventd


    # Run apexd-bootstrap so that APEXes that provide critical libraries
    # Run apexd-bootstrap so that APEXes that provide critical libraries