summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/init.recovery.service22.rc6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/init.recovery.service22.rc b/etc/init.recovery.service22.rc
index bb2853c1a..43a3374b4 100644
--- a/etc/init.recovery.service22.rc
+++ b/etc/init.recovery.service22.rc
@@ -1,5 +1,11 @@
on boot
+ export LD_CONFIG_FILE /sbin/ld.config.txt
# For starting recovery on 5.0 and newer
service recovery /sbin/recovery
seclabel u:r:recovery:s0
+
+# This helps fix ld.config.txt errors from the linker on Android 8.1
+service ldconfigtxt /sbin/touch /sbin/ld.config.txt
+ oneshot
+ seclabel u:r:recovery:s0