summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKiyoung Kim <kiyoungkim@google.com>2019-12-09 11:27:57 +0100
committerKiyoung Kim <kiyoungkim@google.com>2019-12-12 06:40:37 +0100
commit3a88a1748badde2306dce3a59e5d9914013d40ad (patch)
tree64897b6dd5f667a6405ae3169dd3eebce1d79845
parentMerge "Revert "Add mechanism for device-specific loop images"" (diff)
downloadandroid_bootable_recovery-3a88a1748badde2306dce3a59e5d9914013d40ad.tar
android_bootable_recovery-3a88a1748badde2306dce3a59e5d9914013d40ad.tar.gz
android_bootable_recovery-3a88a1748badde2306dce3a59e5d9914013d40ad.tar.bz2
android_bootable_recovery-3a88a1748badde2306dce3a59e5d9914013d40ad.tar.lz
android_bootable_recovery-3a88a1748badde2306dce3a59e5d9914013d40ad.tar.xz
android_bootable_recovery-3a88a1748badde2306dce3a59e5d9914013d40ad.tar.zst
android_bootable_recovery-3a88a1748badde2306dce3a59e5d9914013d40ad.zip
-rw-r--r--etc/init.rc4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/init.rc b/etc/init.rc
index 12411ac14..395e627bf 100644
--- a/etc/init.rc
+++ b/etc/init.rc
@@ -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