diff --git a/files/scripts/install-xpadneo.sh b/files/scripts/install-xpadneo.sh index b0cb4eb..50dcc3e 100644 --- a/files/scripts/install-xpadneo.sh +++ b/files/scripts/install-xpadneo.sh @@ -3,8 +3,15 @@ # Tell build process to exit if there are any errors. set -oue pipefail -git clone https://github.com/atar-axis/xpadneo.git /tmp/xpadneo/ +echo "INFO: kernel module" +dnf list --installed | grep kernel.x86_64 -cd /tmp/xpadneo +echo "INFO: uname -r output:" +uname -r -./install.sh --verbose --force \ No newline at end of file +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 +sudo dkms install -m xpadneo/0.9.7 \ No newline at end of file diff --git a/recipes/components/dnf-module.yml b/recipes/components/dnf-module.yml index 6e8011f..5d6e33a 100644 --- a/recipes/components/dnf-module.yml +++ b/recipes/components/dnf-module.yml @@ -7,7 +7,6 @@ modules: - peterwu/rendezvous nonfree: negativo17 install: - skip-unavailable: true packages: # sddm - sddm @@ -121,7 +120,8 @@ modules: # for performance view - mangohud # xpadneo - - https://negativo17.org/repos/steam/fedora-%OS_VERSION%/x86_64/dkms-xpadneo-0.9.7-2.fc%OS_VERSION%.noarch.rpm + - dkms-xpadneo + #- https://negativo17.org/repos/steam/fedora-%OS_VERSION%/x86_64/akmod-xpadneo-0.9.7-2.fc%OS_VERSION%.noarch.rpm remove: packages: @@ -142,4 +142,8 @@ modules: - mesa-libgbm - mesa-va-drivers - mesa-vulkan-drivers - - gstreamer1-plugin-libav \ No newline at end of file + - gstreamer1-plugin-libav + + - type: script + scripts: + - install-xpadneo.sh \ No newline at end of file