This project builds openrazer akmod and other RPM packages using podman/docker, instead of the provided dkms solution.
Verified to work for version 3.9.0
- Git
- Podman (recommended) / Docker
- Just (optional, recommended)
Clone this repository
git clone --depth 1 https://github.com/my4ng/akmod-openrazer.git && cd akmod-openrazer
- Choose between Podman/Docker build
just podman
/just docker
- Install on fedora (with superuser privileges)
just install-fedora
- Create an output directory
mkdir out
- Build Podman/Docker container image
<podman/docker> build -t openrazer -f Dockerfile .
- Run the container
<podman/docker> run -t -v ./out:/openrazer/out:Z --rm openrazer
- Find the built packages with
cd out
; there should be five packages:akmod-openrazer-<version>.rpm
kmod-openrazer-<version>.rpm
openrazer-<version>.rpm
openrazer-daemon-<version>.rpm
python3-openrazer-<version>.rpm
- Install the packages as appropriate to your distribution, e.g.
- Fedora:
sudo dnf install *
- Fedora:
- Enable the openrazer daemon user service
systemctl --user enable --now openrazer-daemon.service
This project is dual-licensed under Apache-2.0/MIT.