25 lines
693 B
Diff
25 lines
693 B
Diff
From 73c1ef7817e3e46da124cff6012cdcdfbcecaeb5 Mon Sep 17 00:00:00 2001
|
|
From: Ziyang Zhou <ziyang.zhou@outlook.com>
|
|
Date: Thu, 6 Jan 2022 20:47:28 +0800
|
|
Subject: [PATCH 5/6] auto alloc binder devices
|
|
|
|
---
|
|
rootdir/init.rc | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/rootdir/init.rc b/rootdir/init.rc
|
|
index 5f804c2..7791c60 100644
|
|
--- a/rootdir/init.rc
|
|
+++ b/rootdir/init.rc
|
|
@@ -251,6 +251,7 @@ on init
|
|
mkdir /dev/binderfs
|
|
mount binder binder /dev/binderfs stats=global
|
|
chmod 0755 /dev/binderfs
|
|
+ exec -- /vendor/bin/binder_alloc /dev/binderfs/binder-control binder hwbinder vndbinder
|
|
|
|
# Mount fusectl
|
|
mount fusectl none /sys/fs/fuse/connections
|
|
--
|
|
2.45.1
|
|
|