Files
hydro-os/files/scripts/install-xpadneo.sh
Eriq Taing cc7b6eee4f
All checks were successful
bluebuild / Build Custom Image (recipe.yml) (pull_request) Successful in 11m47s
add info to list lib modules and use particular version given
2025-06-23 17:22:31 -04:00

20 lines
476 B
Bash

#!/usr/bin/env bash
# Tell build process to exit if there are any errors.
set -oue pipefail
echo "INFO: kernel module"
dnf list --installed | grep kernel.x86_64
echo "INFO: uname -r output:"
uname -r
echo "INFO: list /lib/modules/"
ls /lib/modules
echo "INFO: xpad modules in /usr/src"
ls /usr/src | grep xpad
echo "INFO: build and install xpadneo"
sudo dkms build -m xpadneo/0.9.7 -k 6.14.11-300.fc42.x86_64
sudo dkms install -m xpadneo/0.9.7 -k 6.14.11-300.fc42.x86_64