mirror of
https://github.com/ublue-os/akmods.git
synced 2026-11-03 14:59:42 -09:00
feat: Swap xonedo kmod with OGC version provided by Terra.
This commit is contained in:
parent
06eff5a062
commit
ab77f0ab72
4 changed files with 23 additions and 26 deletions
|
|
@ -84,7 +84,7 @@ RUN --mount=type=cache,dst=/var/cache/dnf \
|
|||
/tmp/build-kmod-openrazer.sh
|
||||
/tmp/build-kmod-v4l2loopback.sh
|
||||
/tmp/build-kmod-wl.sh
|
||||
/tmp/build-kmod-xone.sh
|
||||
/tmp/build-kmod-xonedo.sh
|
||||
RUNEOF
|
||||
|
||||
#elif defined NVIDIA
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ The `nvidia` and `nvidia-open` images contains
|
|||
| common | [openrazer](https://openrazer.github.io/) | kernel module adding additional features to Razer hardware | [](https://copr.fedorainfracloud.org/coprs/ublue-os/akmods/package/openrazer-kmod) |
|
||||
| common | [v4l2loopback](https://github.com/umlaeute/v4l2loopback) | allows creating "virtual video devices" | [RPMFusion - free](https://rpmfusion.org/) |
|
||||
| common | [wl](https://github.com/rpmfusion/broadcom-wl/) | support for some legacy broadcom wifi devices | [RPMFusion - nonfree](https://rpmfusion.org/) |
|
||||
| common | [xone](https://github.com/BoukeHaarsma23/xonedo/) | xbox one controller USB wired/RF driver modified to work along-side xpad | [](https://copr.fedorainfracloud.org/coprs/ublue-os/akmods/package/xone-kmod) |
|
||||
| common | [xonedo](https://github.com/BoukeHaarsma23/xonedo/) | xbox one controller USB wired/RF driver modified to work along-side xpad | [Terra](https://repos.fyralabs.com/) |
|
||||
| nvidia-open | [nvidia](https://negativo17.org/nvidia-driver/) | nvidia-open GPU drivers | [negativo17 - fedora-nvidia](https://negativo17.org/) |
|
||||
| zfs | [zfs](https://github.com/openzfs/zfs) | OpenZFS advanced file system and volume manager | [zfs](https://github.com/openzfs/zfs) |
|
||||
|
||||
|
|
|
|||
|
|
@ -1,24 +0,0 @@
|
|||
#!/usr/bin/bash
|
||||
|
||||
set "${CI:+-x}" -euo pipefail
|
||||
|
||||
ARCH="$(rpm -E '%_arch')"
|
||||
KERNEL="$(rpm -q "${KERNEL_NAME}" --queryformat '%{VERSION}-%{RELEASE}.%{ARCH}')"
|
||||
RELEASE="$(rpm -E '%fedora')"
|
||||
|
||||
cp /tmp/ublue-os-akmods-addons/rpmbuild/SOURCES/_copr_ublue-os-akmods.repo /etc/yum.repos.d/
|
||||
|
||||
### BUILD xone (succeed or fail-fast with debug output)
|
||||
dnf install -y \
|
||||
akmod-xone-*.fc"${RELEASE}"."${ARCH}"
|
||||
akmods --force --kernels "${KERNEL}" --kmod xone
|
||||
modinfo /usr/lib/modules/"${KERNEL}"/extra/xone/xone_{dongle,gip,gip_gamepad,gip_headset,gip_chatpad,gip_madcatz_strat,gip_madcatz_glam,gip_pdp_jaguar}.ko.xz > /dev/null \
|
||||
|| (find /var/cache/akmods/xone/ -name \*.log -print -exec cat {} \; && exit 1)
|
||||
|
||||
mkdir -p /var/cache/rpms/common
|
||||
dnf download --destdir /var/cache/rpms/common \
|
||||
xone-kmod-common
|
||||
|
||||
rm -f /var/cache/rpms/common/*.src.rpm
|
||||
|
||||
rm -f /etc/yum.repos.d/_copr_ublue-os-akmods.repo
|
||||
21
build_files/common/build-kmod-xonedo.sh
Executable file
21
build_files/common/build-kmod-xonedo.sh
Executable file
|
|
@ -0,0 +1,21 @@
|
|||
#!/usr/bin/bash
|
||||
|
||||
set "${CI:+-x}" -euo pipefail
|
||||
|
||||
KERNEL="$(rpm -q "${KERNEL_NAME}" --queryformat '%{VERSION}-%{RELEASE}.%{ARCH}')"
|
||||
RELEASE="$(rpm -E '%fedora')"
|
||||
|
||||
TERRA_REPO="--nogpgcheck --repofrompath=terra,https://repos.fyralabs.com/terra${RELEASE}"
|
||||
|
||||
### BUILD xonedo (succeed or fail-fast with debug output)
|
||||
dnf install -y ${TERRA_REPO} \
|
||||
xonedo xonedo-firmware xonedo-kmod
|
||||
akmods --force --kernels "${KERNEL}" --kmod xonedo
|
||||
modinfo /usr/lib/modules/"${KERNEL}"/extra/xone/xone_{dongle,gip,gip_gamepad,gip_headset,gip_chatpad,gip_madcatz_strat,gip_madcatz_glam,gip_pdp_jaguar}.ko.xz > /dev/null \
|
||||
|| (find /var/cache/akmods/xonedo/ -name \*.log -print -exec cat {} \; && exit 1)
|
||||
|
||||
mkdir -p /var/cache/rpms/common
|
||||
dnf download ${TERRA_REPO} --destdir /var/cache/rpms/common \
|
||||
xonedo xonedo-firmware xonedo-kmod
|
||||
|
||||
rm -f /var/cache/rpms/common/*.src.rpm
|
||||
Loading…
Reference in a new issue