diff --git a/files/scripts/installxpadneo.sh b/files/scripts/installxpadneo.sh new file mode 100644 index 0000000..1176772 --- /dev/null +++ b/files/scripts/installxpadneo.sh @@ -0,0 +1,13 @@ +#!/usr/bin/env bash + +# Tell build process to exit if there are any errors. +set -oue pipefail + +# move to tmp folder and clone repo +cd /tmp +git clone https://github.com/atar-axis/xpadneo.git + +# move into repo folder and install +cd xpadneo +./install.sh + diff --git a/recipes/components/dnf-module.yml b/recipes/components/dnf-module.yml index 18739dd..1670169 100644 --- a/recipes/components/dnf-module.yml +++ b/recipes/components/dnf-module.yml @@ -121,8 +121,11 @@ modules: - gamescope # for performance view - mangohud - # controller - - xpadneo + # controller libraries + - dkms + - make + - kernel-devel + - kernel-headers remove: packages: diff --git a/recipes/components/xpadneo-module.yml b/recipes/components/xpadneo-module.yml new file mode 100644 index 0000000..c193531 --- /dev/null +++ b/recipes/components/xpadneo-module.yml @@ -0,0 +1,4 @@ +modules: + - type: script + scripts: + - installxpadneo.sh \ No newline at end of file diff --git a/recipes/recipe.yml b/recipes/recipe.yml index 7042d1c..1b0a6e1 100644 --- a/recipes/recipe.yml +++ b/recipes/recipe.yml @@ -14,10 +14,12 @@ image-version: 42 # latest is also supported if you want new updates ASAP modules: - from-file: components/dnf-module.yml - from-file: components/script-module.yml + - from-file: components/xpadneo-module.yml - from-file: components/sys-files-module.yml - from-file: components/systemd-module.yml - from-file: components/default-flatpak.yml - from-file: components/chezmoi-module.yml + - from-file: initramfs - type: signing diff --git a/recipes/recipe_nvidia.yml b/recipes/recipe_nvidia.yml index bb4008e..6d3c848 100644 --- a/recipes/recipe_nvidia.yml +++ b/recipes/recipe_nvidia.yml @@ -14,6 +14,7 @@ image-version: 42 # latest is also supported if you want new updates ASAP modules: - from-file: components/dnf-module.yml - from-file: components/script-module.yml + - from-file: components/xpadneo-module.yml - from-file: components/sys-files-module.yml - from-file: components/systemd-module.yml - from-file: components/nvidia-module.yml