Run linkerconfig from init process
Create linkerconfig tmpfs mount and create ld.config.txt using linkerconfig during init Bug: 135004088 Test: m -j & tested from device Change-Id: Iea30259871ef26d6c04beebf42b17ba7b494db0d
This commit is contained in:
parent
c538656d7d
commit
74c229232c
|
@ -38,6 +38,13 @@ on early-init
|
|||
# Allow up to 32K FDs per process
|
||||
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
|
||||
|
||||
# Run apexd-bootstrap so that APEXes that provide critical libraries
|
||||
|
|
Loading…
Reference in New Issue