summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2018-08-23 18:54:33 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-08-23 18:54:33 +0200
commit11f766af4e7f78db120335855e28ff15f5a8a14c (patch)
tree7fc698b9367765c707b79e13b2658d8fcc07b569
parentMerge "Move ab_streaming_metadata under ab_config." (diff)
parentAdd /dev/stdin, /dev/stdout, and /dev/stderr in recovery too. (diff)
downloadandroid_bootable_recovery-11f766af4e7f78db120335855e28ff15f5a8a14c.tar
android_bootable_recovery-11f766af4e7f78db120335855e28ff15f5a8a14c.tar.gz
android_bootable_recovery-11f766af4e7f78db120335855e28ff15f5a8a14c.tar.bz2
android_bootable_recovery-11f766af4e7f78db120335855e28ff15f5a8a14c.tar.lz
android_bootable_recovery-11f766af4e7f78db120335855e28ff15f5a8a14c.tar.xz
android_bootable_recovery-11f766af4e7f78db120335855e28ff15f5a8a14c.tar.zst
android_bootable_recovery-11f766af4e7f78db120335855e28ff15f5a8a14c.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 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