summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2018-08-23 19:10:09 +0200
committerandroid-build-merger <android-build-merger@google.com>2018-08-23 19:10:09 +0200
commitf64f65b1c3e923b8031f6f2f53c96258b745a649 (patch)
tree7fc698b9367765c707b79e13b2658d8fcc07b569
parentMerge "Move ab_streaming_metadata under ab_config." am: ab7e652484 (diff)
parentMerge "Add /dev/stdin, /dev/stdout, and /dev/stderr in recovery too." (diff)
downloadandroid_bootable_recovery-f64f65b1c3e923b8031f6f2f53c96258b745a649.tar
android_bootable_recovery-f64f65b1c3e923b8031f6f2f53c96258b745a649.tar.gz
android_bootable_recovery-f64f65b1c3e923b8031f6f2f53c96258b745a649.tar.bz2
android_bootable_recovery-f64f65b1c3e923b8031f6f2f53c96258b745a649.tar.lz
android_bootable_recovery-f64f65b1c3e923b8031f6f2f53c96258b745a649.tar.xz
android_bootable_recovery-f64f65b1c3e923b8031f6f2f53c96258b745a649.tar.zst
android_bootable_recovery-f64f65b1c3e923b8031f6f2f53c96258b745a649.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