commit | c3f177b5ec63c6f7b3bccbd7e1e5ef6c250b9baf | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Thu Nov 18 05:17:58 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu Nov 18 05:17:58 2021 +0000 |
tree | 56c305f3528e04f44068c9e71c1c9c8a8c81a587 | |
parent | 77015df54637f88b499a32df3538f0e20c15f5eb [diff] | |
parent | 1033aafe6c42c9c060f395a867a5111517de90a4 [diff] |
Mount binderfs and add /dev/binder in recovery. am: cb22b13418 am: 1033aafe6c Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/1891534 Change-Id: I78b81e893b47c68dda5291c34fcffd04e0ab5288
diff --git a/etc/init.rc b/etc/init.rc index 5cacb8b..983d91a 100644 --- a/etc/init.rc +++ b/etc/init.rc
@@ -38,6 +38,14 @@ 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