diff --git a/files/scripts/install-xpadneo.sh b/files/scripts/install-xpadneo.sh index ac5ff2e..a6c8930 100644 --- a/files/scripts/install-xpadneo.sh +++ b/files/scripts/install-xpadneo.sh @@ -7,5 +7,10 @@ echo "INFO: grab kernel module" KERNEL_VER=$(ls /lib/modules | head -n 1) echo $KERNEL_VER -echo "INFO: rebuild akmods" -sudo akmods --kernels $KERNEL_VER \ No newline at end of file +echo "INFO: grab xpad modules" +MODULE_VER=$(ls /usr/src | grep xpadneo | sed 's/-/\//') +echo $MODULE_VER + +echo "INFO: build and install xpadneo" +sudo dkms build -m $MODULE_VER -k $KERNEL_VER +sudo dkms install -m $MODULE_VER -k $KERNEL_VER \ No newline at end of file diff --git a/recipes/components/dnf-module.yml b/recipes/components/dnf-module.yml index 78df759..3482d07 100644 --- a/recipes/components/dnf-module.yml +++ b/recipes/components/dnf-module.yml @@ -8,7 +8,6 @@ modules: - ublue-os/packages - solopasha/hyprland - peterwu/rendezvous - - atim/xpadneo keys: - https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/-/raw/master/pub.gpg install: @@ -32,7 +31,7 @@ modules: - hyprpolkitagent - hyprshot - hyprland-qt-support - - hyprland-qt-utils + - hyprland-qtutils # ublue udev rules and signing - ublue-os-udev-rules @@ -132,8 +131,8 @@ modules: - gamescope # for performance view - mangohud - # xpadneo - - xpadneo + # dkms for xpadneo + - dkms # simple editing softare - avidemux @@ -175,6 +174,16 @@ modules: - ffmpeg - mesa-vdpau-drivers-freeworld + - type: dnf + repos: + files: + - https://negativo17.org/repos/fedora-steam.repo + install: + packages: + - repo: fedora-steam + packages: + - dkms-xpadneo + - type: script scripts: - install-xpadneo.sh \ No newline at end of file