Merge "Generate linker config from recovery init"

This commit is contained in:
Kiyoung Kim
2019-12-13 01:09:58 +00:00
committed by Gerrit Code Review

View File

@@ -4,6 +4,10 @@ on early-init
# Set the security context of /postinstall if present.
restorecon /postinstall
# Generate ld.config.txt for recovery processes
exec u:r:linkerconfig:s0 -- /system/bin/linkerconfig --target /linkerconfig/ld.config.txt
chmod 444 /linkerconfig/ld.config.txt
start ueventd
setprop sys.usb.configfs 0