summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/init.rc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/init.rc b/etc/init.rc
index 395e627bf..3ec45db2f 100644
--- a/etc/init.rc
+++ b/etc/init.rc
@@ -4,8 +4,8 @@ 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
+ # Copy prebuilt ld.config.txt into linkerconfig directory
+ copy /system/etc/ld.config.txt /linkerconfig/ld.config.txt
chmod 444 /linkerconfig/ld.config.txt
start ueventd