summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2019-12-13 02:59:33 +0100
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2019-12-13 02:59:33 +0100
commitb0f5432a16dc828c241745ba627185929d7daf1a (patch)
tree64897b6dd5f667a6405ae3169dd3eebce1d79845
parentMerge "Revert "Add mechanism for device-specific loop images"" am: fff38d9446 (diff)
parentMerge "Generate linker config from recovery init" (diff)
downloadandroid_bootable_recovery-b0f5432a16dc828c241745ba627185929d7daf1a.tar
android_bootable_recovery-b0f5432a16dc828c241745ba627185929d7daf1a.tar.gz
android_bootable_recovery-b0f5432a16dc828c241745ba627185929d7daf1a.tar.bz2
android_bootable_recovery-b0f5432a16dc828c241745ba627185929d7daf1a.tar.lz
android_bootable_recovery-b0f5432a16dc828c241745ba627185929d7daf1a.tar.xz
android_bootable_recovery-b0f5432a16dc828c241745ba627185929d7daf1a.tar.zst
android_bootable_recovery-b0f5432a16dc828c241745ba627185929d7daf1a.zip
Diffstat (limited to '')
-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