anbox-modules/INSTALL.sh

17 lines
453 B
Bash
Raw Normal View History

#!/usr/bin/env bash
# First install the configuration files:
sudo cp anbox.conf /etc/modules-load.d/
sudo cp 99-anbox.rules /lib/udev/rules.d/
# Then copy the module sources to /usr/src/:
sudo cp -rT binder /usr/src/anbox-binder-1
# Finally use dkms to build and install:
sudo dkms install anbox-binder/1
# Verify by loading these modules and checking the created devices:
sudo modprobe binder_linux
2024-10-02 20:18:32 +08:00
lsmod | grep -e binder_linux
ls -alh /dev/binder