I added the line.
Anyway I don't think people should be using this package with stable kernels. Using a kernel the includes ashmem and binder modules like extra/linux-zen (or one of the tkg kernels build by chaotic-aur) is a better choice, since you don't have to deal with such issues.
Pinned Comments
eNV25 commented on 2022-08-14 08:39 (UTC)
Avoid this package if you can, updates may fail to build in new kernel versions. Review the ArchWiki again to see if you really need this package.
If need this package, it should preferably be used with an Long-Term Support (LTS) kernel, like
linux-lts
. Newer Arch Linux kernel versions are more likely to not work, as the upstream maintainer does not use those.For newer kernel that fail to build, there is often a PR that fixes the issue. For such cases, you could make local changes to the
PKGBUILD
to point to the PR. This is not friendly to AUR helpers, so it is simpler for most people to avoid this package as I explained above.sickcodes commented on 2021-09-27 20:52 (UTC) (edited on 2021-12-13 03:10 (UTC) by sickcodes)
This has been adjusted to build on 5.10-5.15 thank you to legend Christian Hoff!
Working DKMS fork by Christian Hoff: https://github.com/choff/anbox-modules
DKMS add modules, without reboot:
sudo modprobe binder_linux devices=binder,hwbinder,vndbinder,anbox-binder,anbox-hwbinder,anbox-vndbinder
sudo modprobe ashmem_linux
The simplest way is to boot into https://archlinux.org/packages/core/x86_64/linux-lts/