Merge "Do not execute linkerconfig from recovery"

This commit is contained in:
Kiyoung Kim
2019-12-18 00:55:03 +00:00
committed by Gerrit Code Review
+2 -2
View File
@@ -4,8 +4,8 @@ on early-init
# Set the security context of /postinstall if present. # Set the security context of /postinstall if present.
restorecon /postinstall restorecon /postinstall
# Generate ld.config.txt for recovery processes # Copy prebuilt ld.config.txt into linkerconfig directory
exec u:r:linkerconfig:s0 -- /system/bin/linkerconfig --target /linkerconfig/ld.config.txt copy /system/etc/ld.config.txt /linkerconfig/ld.config.txt
chmod 444 /linkerconfig/ld.config.txt chmod 444 /linkerconfig/ld.config.txt
start ueventd start ueventd