Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c3f177b5 authored by Yifan Hong's avatar Yifan Hong Committed by Automerger Merge Worker
Browse files

Mount binderfs and add /dev/binder in recovery. am: cb22b134 am: 1033aafe

Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/1891534

Change-Id: I78b81e893b47c68dda5291c34fcffd04e0ab5288
parents 77015df5 1033aafe
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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