cleanup-unused-packages #67
@@ -7,21 +7,10 @@ echo "INFO: grab kernel module"
|
|||||||
KERNEL_VER=$(ls /lib/modules | head -n 1)
|
KERNEL_VER=$(ls /lib/modules | head -n 1)
|
||||||
echo $KERNEL_VER
|
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"
|
echo "INFO: grab open razer modules"
|
||||||
RAZER_MODULE_VER=$(ls /usr/src | grep razer | sed -E 's/(.*)-/\1\//')
|
RAZER_MODULE_VER=$(ls /usr/src | grep razer | sed -E 's/(.*)-/\1\//')
|
||||||
echo $RAZER_MODULE_VER
|
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"
|
echo "INFO: build and install openrazer"
|
||||||
sudo dkms build -m $RAZER_MODULE_VER -k $KERNEL_VER
|
sudo dkms build -m $RAZER_MODULE_VER -k $KERNEL_VER
|
||||||
sudo dkms install -m $RAZER_MODULE_VER -k $KERNEL_VER
|
sudo dkms install -m $RAZER_MODULE_VER -k $KERNEL_VER
|
||||||
16
files/scripts/installxpadneomodule.sh
Normal file
16
files/scripts/installxpadneomodule.sh
Normal file
@@ -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
|
||||||
@@ -61,9 +61,6 @@ modules:
|
|||||||
# for performance view
|
# for performance view
|
||||||
- mangohud
|
- mangohud
|
||||||
|
|
||||||
# godot
|
|
||||||
- godot
|
|
||||||
|
|
||||||
remove:
|
remove:
|
||||||
packages:
|
packages:
|
||||||
# remove firefox
|
# remove firefox
|
||||||
|
|||||||
@@ -3,15 +3,13 @@ modules:
|
|||||||
repos:
|
repos:
|
||||||
files:
|
files:
|
||||||
- https://negativo17.org/repos/fedora-steam.repo
|
- https://negativo17.org/repos/fedora-steam.repo
|
||||||
- https://openrazer.github.io/hardware:razer.repo
|
|
||||||
install:
|
install:
|
||||||
packages:
|
packages:
|
||||||
- dkms
|
- dkms
|
||||||
- openrazer-meta
|
|
||||||
- repo: fedora-steam
|
- repo: fedora-steam
|
||||||
packages:
|
packages:
|
||||||
- dkms-xpadneo
|
- dkms-xpadneo
|
||||||
|
|
||||||
- type: script
|
- type: script
|
||||||
scripts:
|
scripts:
|
||||||
- installdkmsmodules.sh
|
- installxpadneomodule.sh
|
||||||
@@ -13,7 +13,6 @@ modules:
|
|||||||
- hyprland-qt-support
|
- hyprland-qt-support
|
||||||
- hyprland-qtutils
|
- hyprland-qtutils
|
||||||
- xdg-desktop-portal-hyprland
|
- xdg-desktop-portal-hyprland
|
||||||
- swww
|
|
||||||
- matugen
|
- matugen
|
||||||
|
|
||||||
# quickshell
|
# quickshell
|
||||||
|
|||||||
Reference in New Issue
Block a user