Move Razer into its own script to allow installing later. Remove razer

This commit is contained in:
2025-11-14 17:06:09 -05:00
parent d2ffe72903
commit bd166d784d
3 changed files with 11 additions and 9 deletions

View File

@@ -7,8 +7,6 @@ set -ouex pipefail
# install openrazer # install openrazer
dnf -y install /tmp/rpms/ublue-os/ublue-os-akmods*.rpm dnf -y install /tmp/rpms/ublue-os/ublue-os-akmods*.rpm
dnf -y install /tmp/rpms/kmods/kmod-openrazer*.rpm
# copy # copy
/ctx/copyfiles.sh /ctx/copyfiles.sh

View File

@@ -25,10 +25,3 @@ dnf5 -y install \
firewall-config \ firewall-config \
lsb_release \ lsb_release \
toolbox toolbox
dnf5 -y config-manager addrepo --from-repofile=https://openrazer.github.io/hardware:razer.repo
dnf5 -y install openrazer-daemon
rm -f /etc/yum.repo.d/razer.repo

11
build_files/dnf/razer.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
set -ouex pipefail
dnf -y install /tmp/rpms/kmods/kmod-openrazer*.rpm
dnf5 -y config-manager addrepo --from-repofile=https://openrazer.github.io/hardware:razer.repo
dnf5 -y install openrazer-daemon
rm -f /etc/yum.repo.d/razer.repo