From b3fec6c6d0299877e99169db29ecec77fffd0936 Mon Sep 17 00:00:00 2001 From: Eriq Taing Date: Sat, 13 Sep 2025 22:20:47 -0400 Subject: [PATCH 1/4] Separated installdkmsmodules.sh into separate scripts and removed razer package --- ...stalldkmsmodules.sh => installrazermodule.sh} | 11 ----------- files/scripts/installxpadneomodule.sh | 16 ++++++++++++++++ recipes/dnf/drivers.yml | 5 +---- 3 files changed, 17 insertions(+), 15 deletions(-) rename files/scripts/{installdkmsmodules.sh => installrazermodule.sh} (60%) create mode 100644 files/scripts/installxpadneomodule.sh diff --git a/files/scripts/installdkmsmodules.sh b/files/scripts/installrazermodule.sh similarity index 60% rename from files/scripts/installdkmsmodules.sh rename to files/scripts/installrazermodule.sh index 95124d1..0a561b8 100644 --- a/files/scripts/installdkmsmodules.sh +++ b/files/scripts/installrazermodule.sh @@ -7,21 +7,10 @@ echo "INFO: grab kernel module" KERNEL_VER=$(ls /lib/modules | head -n 1) echo $KERNEL_VER -echo "INFO: list all modules" -ls /usr/src - -echo "INFO: grab xpad modules" -XPAD_MODULE_VER=$(ls /usr/src | grep xpadneo | sed 's/-/\//') -echo $XPAD_MODULE_VER - echo "INFO: grab open razer modules" RAZER_MODULE_VER=$(ls /usr/src | grep razer | sed -E 's/(.*)-/\1\//') echo $RAZER_MODULE_VER -echo "INFO: build and install xpadneo" -sudo dkms build -m $XPAD_MODULE_VER -k $KERNEL_VER -sudo dkms install -m $XPAD_MODULE_VER -k $KERNEL_VER - echo "INFO: build and install openrazer" sudo dkms build -m $RAZER_MODULE_VER -k $KERNEL_VER sudo dkms install -m $RAZER_MODULE_VER -k $KERNEL_VER \ No newline at end of file diff --git a/files/scripts/installxpadneomodule.sh b/files/scripts/installxpadneomodule.sh new file mode 100644 index 0000000..0ad43f9 --- /dev/null +++ b/files/scripts/installxpadneomodule.sh @@ -0,0 +1,16 @@ +#!/usr/bin/env bash + +# Tell build process to exit if there are any errors. +set -oue pipefail + +echo "INFO: grab kernel module" +KERNEL_VER=$(ls /lib/modules | head -n 1) +echo $KERNEL_VER + +echo "INFO: grab xpad modules" +XPAD_MODULE_VER=$(ls /usr/src | grep xpadneo | sed 's/-/\//') +echo $XPAD_MODULE_VER + +echo "INFO: build and install xpadneo" +sudo dkms build -m $XPAD_MODULE_VER -k $KERNEL_VER +sudo dkms install -m $XPAD_MODULE_VER -k $KERNEL_VER \ No newline at end of file diff --git a/recipes/dnf/drivers.yml b/recipes/dnf/drivers.yml index 9bf5d7f..b9e0cdc 100644 --- a/recipes/dnf/drivers.yml +++ b/recipes/dnf/drivers.yml @@ -3,15 +3,12 @@ modules: repos: files: - https://negativo17.org/repos/fedora-steam.repo - - https://openrazer.github.io/hardware:razer.repo install: packages: - - dkms - - openrazer-meta - repo: fedora-steam packages: - dkms-xpadneo - type: script scripts: - - installdkmsmodules.sh \ No newline at end of file + - installxpadneomodule.sh \ No newline at end of file -- 2.47.3 From dc02602e08db04c7011d07fa8a35d38d4ba9bbb6 Mon Sep 17 00:00:00 2001 From: Eriq Taing Date: Sat, 13 Sep 2025 22:30:39 -0400 Subject: [PATCH 2/4] Removed swww to use custom quickshell --- recipes/dnf/hyprland.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/recipes/dnf/hyprland.yml b/recipes/dnf/hyprland.yml index b3d48c9..51d60a6 100644 --- a/recipes/dnf/hyprland.yml +++ b/recipes/dnf/hyprland.yml @@ -13,7 +13,6 @@ modules: - hyprland-qt-support - hyprland-qtutils - xdg-desktop-portal-hyprland - - swww - matugen # quickshell -- 2.47.3 From ab8361b64a4daf05005c6e838ea2aac57686112e Mon Sep 17 00:00:00 2001 From: Eriq Taing Date: Sun, 14 Sep 2025 13:25:27 -0400 Subject: [PATCH 3/4] Added back dkms for dkms-xpadneo --- recipes/dnf/drivers.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes/dnf/drivers.yml b/recipes/dnf/drivers.yml index b9e0cdc..3543f17 100644 --- a/recipes/dnf/drivers.yml +++ b/recipes/dnf/drivers.yml @@ -5,6 +5,7 @@ modules: - https://negativo17.org/repos/fedora-steam.repo install: packages: + - dkms - repo: fedora-steam packages: - dkms-xpadneo -- 2.47.3 From d45c3128ba619e972723c2f13b5873e66ffe9447 Mon Sep 17 00:00:00 2001 From: Eriq Taing Date: Sun, 14 Sep 2025 13:25:44 -0400 Subject: [PATCH 4/4] Removed godot from base image to opt for flatpak --- recipes/dnf/applications.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/recipes/dnf/applications.yml b/recipes/dnf/applications.yml index 5b13d77..f7154aa 100644 --- a/recipes/dnf/applications.yml +++ b/recipes/dnf/applications.yml @@ -60,9 +60,6 @@ modules: - gamescope # for performance view - mangohud - - # godot - - godot remove: packages: -- 2.47.3