diff options
author | Yifan Hong <elsk@google.com> | 2021-11-18 06:01:37 +0100 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-11-18 06:01:37 +0100 |
commit | 1033aafe6c42c9c060f395a867a5111517de90a4 (patch) | |
tree | b9d047aee04bdc391bb3decf631d4137025df390 | |
parent | Merge "Merge sc-qpr1-dev-plus-aosp-without-vendor@7810918" into stage-aosp-master (diff) | |
parent | Mount binderfs and add /dev/binder in recovery. (diff) | |
download | android_bootable_recovery-1033aafe6c42c9c060f395a867a5111517de90a4.tar android_bootable_recovery-1033aafe6c42c9c060f395a867a5111517de90a4.tar.gz android_bootable_recovery-1033aafe6c42c9c060f395a867a5111517de90a4.tar.bz2 android_bootable_recovery-1033aafe6c42c9c060f395a867a5111517de90a4.tar.lz android_bootable_recovery-1033aafe6c42c9c060f395a867a5111517de90a4.tar.xz android_bootable_recovery-1033aafe6c42c9c060f395a867a5111517de90a4.tar.zst android_bootable_recovery-1033aafe6c42c9c060f395a867a5111517de90a4.zip |
-rw-r--r-- | etc/init.rc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/etc/init.rc b/etc/init.rc index 5cacb8bdb..983d91aa4 100644 --- a/etc/init.rc +++ b/etc/init.rc @@ -38,6 +38,14 @@ on init write /proc/sys/kernel/panic_on_oops 1 write /proc/sys/vm/max_map_count 1000000 + # Mount binderfs + mkdir /dev/binderfs + mount binder binder /dev/binderfs stats=global + chmod 0755 /dev/binderfs + + symlink /dev/binderfs/binder /dev/binder + chmod 0666 /dev/binderfs/binder + on boot ifup lo hostname localhost |