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