summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2019-12-13 03:38:25 +0100
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2019-12-13 03:38:25 +0100
commit9de640f8bc45decec0e5576ca910dbe3d4a4207c (patch)
tree23d7985b72103a57c54a6eb98a5c700b9c52ccf2
parentMerge "Revert "Add mechanism for device-specific loop images"" am: fff38d9446 am: df59e19ca3 (diff)
parentMerge "Generate linker config from recovery init" am: 17090d7f53 am: c3b430d816 (diff)
downloadandroid_bootable_recovery-9de640f8bc45decec0e5576ca910dbe3d4a4207c.tar
android_bootable_recovery-9de640f8bc45decec0e5576ca910dbe3d4a4207c.tar.gz
android_bootable_recovery-9de640f8bc45decec0e5576ca910dbe3d4a4207c.tar.bz2
android_bootable_recovery-9de640f8bc45decec0e5576ca910dbe3d4a4207c.tar.lz
android_bootable_recovery-9de640f8bc45decec0e5576ca910dbe3d4a4207c.tar.xz
android_bootable_recovery-9de640f8bc45decec0e5576ca910dbe3d4a4207c.tar.zst
android_bootable_recovery-9de640f8bc45decec0e5576ca910dbe3d4a4207c.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