summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2018-07-25 19:04:51 +0200
committerDees Troy <dees_troy@teamw.in>2018-07-27 19:02:21 +0200
commit1ccdefab7926520dec4934bf4f3a1176cf5953f6 (patch)
tree3163cd9e0383639707ea2327ede9e489acee685c /etc
parentlanguage: italian: Fix SELinux support label (diff)
downloadandroid_bootable_recovery-1ccdefab7926520dec4934bf4f3a1176cf5953f6.tar
android_bootable_recovery-1ccdefab7926520dec4934bf4f3a1176cf5953f6.tar.gz
android_bootable_recovery-1ccdefab7926520dec4934bf4f3a1176cf5953f6.tar.bz2
android_bootable_recovery-1ccdefab7926520dec4934bf4f3a1176cf5953f6.tar.lz
android_bootable_recovery-1ccdefab7926520dec4934bf4f3a1176cf5953f6.tar.xz
android_bootable_recovery-1ccdefab7926520dec4934bf4f3a1176cf5953f6.tar.zst
android_bootable_recovery-1ccdefab7926520dec4934bf4f3a1176cf5953f6.zip
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