refine debian deployment instructions

This commit is contained in:
Ziyang Zhou
2023-08-05 10:13:27 +08:00
parent 274e7a46ec
commit c72e2db134

View File

@@ -1,11 +1,15 @@
# Deploy redroid on Debian
```
##############################
## Debian 11 (kernel 5.18)
##############################
### the included `binder_linux` NOT support `binderfs`
### so use custom kernel here
### enable binderfs
CONFIG_ANDROID=y
CONFIG_ANDROID_BINDER_IPC=y
CONFIG_ANDROID_BINDERFS=y
CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder"
@@ -17,5 +21,15 @@ docker run -itd --rm --privileged \
-p 5555:5555 \
--name redroid11 \
redroid/redroid:11.0.0-latest \
androidboot.use_memfd=1
##############################
## Debian 12 (kernel 6.1)
##############################
### enable binderfs
CONFIG_ANDROID_BINDER_IPC=y
CONFIG_ANDROID_BINDERFS=y
CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder"
```