mirror of
https://github.com/choff/anbox-modules.git
synced 2026-05-02 00:10:11 +08:00
Add old static symlinks needed by gbinder (waydroid)
This commit is contained in:
parent
a6aa97d65b
commit
50678b6ceb
@ -14,3 +14,11 @@ sudo dkms install anbox-binder/1
|
||||
sudo modprobe binder_linux
|
||||
lsmod | grep -e binder_linux
|
||||
ls -alh /dev/binder
|
||||
|
||||
#Add symlinks to devices needed by gbinder
|
||||
sudo ln -s /dev/binderfs/anbox-binder /dev/binder
|
||||
sudo ln -s /dev/binderfs/anbox-hwbinder /dev/hwbinder
|
||||
sudo ln -s /dev/binderfs/anbox-vndbinder /dev/vndbinder
|
||||
sudo chmod 777 /dev/binder
|
||||
sudo chmod 777 /dev/hwbinder
|
||||
sudo chmod 777 /dev/vndbinder
|
||||
|
||||
@ -10,6 +10,11 @@ sudo rm -rf /usr/src/anbox-binder-1
|
||||
sudo rm -f /etc/modules-load.d/anbox.conf
|
||||
sudo rm -f /lib/udev/rules.d/99-anbox.rules
|
||||
|
||||
#Remove symlinks
|
||||
sudo rm /dev/binder
|
||||
sudo rm /dev/hwbinder
|
||||
sudo rm /dev/vndbinder
|
||||
|
||||
# Verify remove by trying to load the modules and checking the created devices:
|
||||
failed_checks=0
|
||||
if sudo modprobe binder_linux > /dev/null 2>&1; then
|
||||
|
||||
Loading…
Reference in New Issue
Block a user