summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2018-08-26 05:04:43 +0200
committerandroid-build-team Robot <android-build-team-robot@google.com>2018-08-26 05:04:43 +0200
commit402e9d16d35de75517358b256a9b58bf87b39c27 (patch)
treeed9fb565742ef284765b746fe68a106432789bf5
parentSnap for 4972102 from 55c1c840d064cebd8f916f640aeefebbc80f8528 to qt-release (diff)
parentMerge "uncrypt: Depend on commonly used shared libs." am: 9d7f918506 am: 9d595b13f9 (diff)
downloadandroid_bootable_recovery-402e9d16d35de75517358b256a9b58bf87b39c27.tar
android_bootable_recovery-402e9d16d35de75517358b256a9b58bf87b39c27.tar.gz
android_bootable_recovery-402e9d16d35de75517358b256a9b58bf87b39c27.tar.bz2
android_bootable_recovery-402e9d16d35de75517358b256a9b58bf87b39c27.tar.lz
android_bootable_recovery-402e9d16d35de75517358b256a9b58bf87b39c27.tar.xz
android_bootable_recovery-402e9d16d35de75517358b256a9b58bf87b39c27.tar.zst
android_bootable_recovery-402e9d16d35de75517358b256a9b58bf87b39c27.zip
-rw-r--r--etc/init.rc4
-rw-r--r--uncrypt/Android.bp12
2 files changed, 11 insertions, 5 deletions
diff --git a/etc/init.rc b/etc/init.rc
index 9add2494a..2adecb764 100644
--- a/etc/init.rc
+++ b/etc/init.rc
@@ -13,6 +13,10 @@ on init
export ANDROID_DATA /data
export EXTERNAL_STORAGE /sdcard
+ symlink /proc/self/fd/0 /dev/stdin
+ symlink /proc/self/fd/1 /dev/stdout
+ symlink /proc/self/fd/2 /dev/stderr
+
symlink /system/bin /bin
symlink /system/etc /etc
diff --git a/uncrypt/Android.bp b/uncrypt/Android.bp
index aa56d2f74..107a7f0fc 100644
--- a/uncrypt/Android.bp
+++ b/uncrypt/Android.bp
@@ -24,13 +24,15 @@ cc_binary {
"-Werror",
],
- static_libs: [
- "libbootloader_message",
- "libotautil",
- "libfs_mgr",
+ shared_libs: [
"libbase",
+ "libbootloader_message",
"libcutils",
- "liblog",
+ "libfs_mgr",
+ ],
+
+ static_libs: [
+ "libotautil",
],
init_rc: [