-
Notifications
You must be signed in to change notification settings - Fork 321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
利用docker构建redroid,容器启动失败,exited129 #790
Comments
Check |
我之前已经执行了: apply redroid patchesgit clone https://github.com/remote-android/redroid-patches.git ~/redroid-patches system/core下面应该是什么样子呢,我的路径下文件如图片所示 还想请教一下,应该如何正确关闭redroid中的selinux |
发现虽然之前执行了打补丁的指令,但好像没起作用,我手动打了补丁,docker容器可以正常启动了,但是adb连接失败,报错:/system/bin/sh: No controlling tty: open /dev/tty: No such device or address |
Describe the bug
请详细描述问题(ZH_CN)
使用redroid-doc中的命令打包镜像【sudo tar --xattrs -c vendor -C system --exclude="./vendor" . | docker import --platform=linux/arm64 -c 'ENTRYPOINT ["/init", "qemu=1", "androidboot.hardware=redroid"]' - redroid】,运行容器时无法正常启动,显示exited129,dmesg -T查看有如下报错:
尝试禁用SELinux,已经尝试过临时禁用【setenforce 0】和永久禁用【在/etc/selinux/config中写入SELINUX=disabled】
但启动docker容器仍是同样的报错
make sure the required kernel modules present
确保必须的内核功能已开启(ZH_CN)
grep binder /proc/filesystems
grep ashmem /proc/misc
(optional)已经确保开启
The text was updated successfully, but these errors were encountered: