summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorCaptain Throwback <captainthrowback@hotmail.com>2019-10-22 01:42:50 +0200
committerCaptain Throwback <captainthrowback@hotmail.com>2019-10-22 01:46:30 +0200
commit170964d5bb96964efa16abab3469106b95a9fa64 (patch)
tree2efd5a1b248914d3cfa359f9f6b3d62a5304d191 /etc
parentMerge "Update Portuguese (Portugal) translation" into android-9.0 (diff)
downloadandroid_bootable_recovery-170964d5bb96964efa16abab3469106b95a9fa64.tar
android_bootable_recovery-170964d5bb96964efa16abab3469106b95a9fa64.tar.gz
android_bootable_recovery-170964d5bb96964efa16abab3469106b95a9fa64.tar.bz2
android_bootable_recovery-170964d5bb96964efa16abab3469106b95a9fa64.tar.lz
android_bootable_recovery-170964d5bb96964efa16abab3469106b95a9fa64.tar.xz
android_bootable_recovery-170964d5bb96964efa16abab3469106b95a9fa64.tar.zst
android_bootable_recovery-170964d5bb96964efa16abab3469106b95a9fa64.zip
Diffstat (limited to 'etc')
-rw-r--r--etc/Android.mk9
-rw-r--r--etc/init.rc1
-rwxr-xr-xetc/init.recovery.ldconfig.rc2
3 files changed, 12 insertions, 0 deletions
diff --git a/etc/Android.mk b/etc/Android.mk
index 4aeb251dc..ca549ea29 100644
--- a/etc/Android.mk
+++ b/etc/Android.mk
@@ -60,6 +60,15 @@ ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 26; echo $$?),0)
LOCAL_SRC_FILES := init.recovery.hlthchrg26.rc
include $(BUILD_PREBUILT)
+
+ include $(CLEAR_VARS)
+ LOCAL_MODULE := init.recovery.ldconfig.rc
+ LOCAL_MODULE_TAGS := eng
+ LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES
+ LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
+
+ LOCAL_SRC_FILES := init.recovery.ldconfig.rc
+ include $(BUILD_PREBUILT)
else
include $(CLEAR_VARS)
LOCAL_MODULE := init.recovery.hlthchrg.rc
diff --git a/etc/init.rc b/etc/init.rc
index 348471d4f..e0889c44d 100644
--- a/etc/init.rc
+++ b/etc/init.rc
@@ -1,4 +1,5 @@
import /init.recovery.logd.rc
+import /init.recovery.ldconfig.rc
import /init.recovery.mksh.rc
import /init.recovery.usb.rc
import /init.recovery.service.rc
diff --git a/etc/init.recovery.ldconfig.rc b/etc/init.recovery.ldconfig.rc
new file mode 100755
index 000000000..ad9c29680
--- /dev/null
+++ b/etc/init.recovery.ldconfig.rc
@@ -0,0 +1,2 @@
+on fs
+ export LD_CONFIG_FILE /sbin/ld.config.txt