anbox-modules/INSTALL.sh
llyyr 18f37babc3 Remove ashmem
Use memfd
2025-03-05 06:03:00 +05:30

17 lines
448 B
Bash
Executable File

#!/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 source 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 the module and checking the created device:
sudo modprobe binder_linux
lsmod | grep -e binder_linux
ls -alh /dev/binder