Generate linker config from recovery init

Generate linker config from recovery init to be used from recovery
processes.

Bug: 139638519
Test: Tested from crosshatch
Change-Id: I777a8baf08254b07375b8039bb252864637e29e7
This commit is contained in:
Kiyoung Kim
2019-12-09 19:27:57 +09:00
parent fff38d9446
commit 3a88a1748b
+4
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