commit | 997f6e1bf73689a184d992dfaa0ab2041f486e7e | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Thu Nov 18 05:34:45 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu Nov 18 05:34:45 2021 +0000 |
tree | 56c305f3528e04f44068c9e71c1c9c8a8c81a587 | |
parent | 2545caab1e7e8ee52f8c490f556f68706a28f801 [diff] | |
parent | c3f177b5ec63c6f7b3bccbd7e1e5ef6c250b9baf [diff] |
Mount binderfs and add /dev/binder in recovery. am: cb22b13418 am: 1033aafe6c am: c3f177b5ec Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/1891534 Change-Id: I4e4c0ad0817639a39cf59c1afe676f95f6681a60
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