This repository has been archived by the owner on Feb 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 233
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from devhammed/feat/add_script_that_automates_…
…install_steps feat: add script that automates install steps
- Loading branch information
Showing
2 changed files
with
23 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/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 ashmem /usr/src/anbox-ashmem-1 | ||
sudo cp -rT binder /usr/src/anbox-binder-1 | ||
|
||
# Finally use dkms to build and install: | ||
sudo dkms install anbox-ashmem/1 | ||
sudo dkms install anbox-binder/1 | ||
|
||
# Verify by loading these modules and checking the created devices: | ||
sudo modprobe ashmem_linux | ||
sudo modprobe binder_linux | ||
lsmod | grep -e ashmem_linux -e binder_linux | ||
ls -alh /dev/binder /dev/ashmem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters