From 5ae851eadeb0f1bee598b15b29ed9c70fc8e8f2d Mon Sep 17 00:00:00 2001 From: Kyle Gospodnetich Date: Mon, 22 Apr 2024 20:11:10 -0700 Subject: [PATCH] chore: Remove a bunch of no longer needed kmods. (#182) Co-authored-by: Benjamin Sherman --- Containerfile.common | 8 +------- README.md | 6 ------ build-kmod-bmi160.sh | 17 ----------------- build-kmod-bmi260.sh | 17 ----------------- build-kmod-bmi323.sh | 17 ----------------- build-kmod-gcadapter_oc.sh | 17 ----------------- build-kmod-steamdeck.sh | 21 --------------------- build-kmod-winesync.sh | 18 ------------------ 8 files changed, 1 insertion(+), 120 deletions(-) delete mode 100755 build-kmod-bmi160.sh delete mode 100755 build-kmod-bmi260.sh delete mode 100755 build-kmod-bmi323.sh delete mode 100755 build-kmod-gcadapter_oc.sh delete mode 100755 build-kmod-steamdeck.sh delete mode 100755 build-kmod-winesync.sh diff --git a/Containerfile.common b/Containerfile.common index 0c6cdf21..cb102f36 100644 --- a/Containerfile.common +++ b/Containerfile.common @@ -38,16 +38,10 @@ RUN if grep -qv "surface" <<< "${KERNEL_FLAVOR}"; then \ /tmp/build-kmod-evdi.sh \ ; fi && \ if grep -qv "fsync" <<< "${KERNEL_FLAVOR}"; then \ - /tmp/build-kmod-winesync.sh && \ - /tmp/build-kmod-openrgb.sh && \ - /tmp/build-kmod-steamdeck.sh \ + /tmp/build-kmod-openrgb.sh \ ; fi && \ /tmp/build-kmod-ayaneo-platform.sh && \ /tmp/build-kmod-ayn-platform.sh && \ - /tmp/build-kmod-bmi160.sh && \ - /tmp/build-kmod-bmi260.sh && \ - /tmp/build-kmod-bmi323.sh && \ - /tmp/build-kmod-gcadapter_oc.sh && \ /tmp/build-kmod-kvmfr.sh && \ /tmp/build-kmod-nct6687d.sh && \ /tmp/build-kmod-openrazer.sh && \ diff --git a/README.md b/README.md index 06067248..a4710167 100644 --- a/README.md +++ b/README.md @@ -14,11 +14,7 @@ Feel free to PR more kmod build scripts into this repo! - [nvidia-container-tookkit repo](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html#installing-with-yum-or-dnf) - version 1.14 (and newer) provide CDI for podman use of nvidia gpus - [ayaneo-platform](https://github.com/ShadowBlip/ayaneo-platform) - Linux drivers for AYANEO x86 handhelds (akmod from [ublue-os/akmods copr](https://copr.fedorainfracloud.org/coprs/ublue-os/akmods/)) - [ayn-platform](https://github.com/ShadowBlip/ayn-platform) - Linux drivers for AYN x86 handhelds (akmod from [ublue-os/akmods copr](https://copr.fedorainfracloud.org/coprs/ublue-os/akmods/)) -- [bmi160](https://github.com/hhd-dev/bmi160) - kernel module driver for the BMI160 IMU (akmod from [ublue-os/akmods copr](https://copr.fedorainfracloud.org/coprs/ublue-os/akmods/)) -- [bmi260](https://github.com/hhd-dev/bmi260) - kernel module driver for the Bosch BMI260 IMU (akmod from [ublue-os/akmods copr](https://copr.fedorainfracloud.org/coprs/ublue-os/akmods/)) -- [bmi323](https://github.com/hhd-dev/bmi260) - kernel module driver for the Bosch BMI323 IMU (akmod from [ublue-os/akmods copr](https://copr.fedorainfracloud.org/coprs/ublue-os/akmods/)) - [evdi](www.displaylink.com) - kernel module required for use of displaylink (akmod from [negativo17 multimedia repo](https://negativo17.org/multimedia/) -- [gcadapter_oc](https://github.com/hannesmann/gcadapter-oc-kmod) - kernel module for overclocking the Nintendo Wii U/Mayflash GameCube adapter (akmod from [ublue-os/akmods copr](https://copr.fedorainfracloud.org/coprs/ublue-os/akmods/)) - [kvmfr](https://github.com/gnif/looking-glass) - KVM framebuffer relay kernel module for use with Looking Glass (akmod from [hikariknight/looking-glass-kvmfr-akmod copr](https://copr.fedorainfracloud.org/coprs/hikariknight/looking-glass-kvmfr/)) - [nct6687d](https://github.com/Fred78290/nct6687d) - Linux kernel module for Nuvoton NCT6687-R found on AMD B550 chipset motherboards (akmod from [ublue-os/akmods copr](https://copr.fedorainfracloud.org/coprs/ublue-os/akmods/)) - [nvidia](https://rpmfusion.org/Howto/NVIDIA) - nvidia GPU drivers built from rpmfusion @@ -27,9 +23,7 @@ Feel free to PR more kmod build scripts into this repo! - rtl8814au - Realtek RTL8814AU Driver (akmod from [ublue-os/akmods copr](https://copr.fedorainfracloud.org/coprs/ublue-os/akmods/)) - rtl88xxau - Realtek RTL8812AU/21AU and RTL8814AU driver (akmod from [ublue-os/akmods copr](https://copr.fedorainfracloud.org/coprs/ublue-os/akmods/)) - [ryzen_smu](https://gitlab.com/leogx9r/ryzen_smu) - A Linux kernel driver that exposes access to the SMU (System Management Unit) for certain AMD Ryzen Processors (akmod from [ublue-os/akmods copr](https://copr.fedorainfracloud.org/coprs/ublue-os/akmods/)) -- [steamdeck](https://lkml.org/lkml/2022/2/5/391) - platform driver for Valve's Steam Deck handheld PC (akmod from [ublue-os/akmods copr](https://copr.fedorainfracloud.org/coprs/ublue-os/akmods/)) - [v4l2loopback](https://github.com/umlaeute/v4l2loopback) - allows creating "virtual video devices" -- [winesync](https://repo.or.cz/linux/zf.git/shortlog/refs/heads/winesync4) - Support for Winesync/Fastsync/NTSync primitives (akmod from [ublue-os/akmods copr](https://copr.fedorainfracloud.org/coprs/ublue-os/akmods/)) - [wl (broadcom)](https://github.com/rpmfusion/broadcom-wl/) - support for some legacy broadcom wifi devices - [xpadneo](https://github.com/atar-axis/xpadneo) - xbox one controller bluetooth driver (akmod from [negativo17 steam repo](https://negativo17.org/steam/) - [xonedo](https://github.com/BoukeHaarsma23/xonedo/) - xbox one controller USB wired/RF driver modified to work along-side xpad (akmod from [ublue-os/akmods copr](https://copr.fedorainfracloud.org/coprs/ublue-os/akmods/)) diff --git a/build-kmod-bmi160.sh b/build-kmod-bmi160.sh deleted file mode 100755 index 85f9bcc9..00000000 --- a/build-kmod-bmi160.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh - -set -oeux 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/ - -rpm-ostree install \ - akmod-bmi160-*.fc${RELEASE}.${ARCH} -akmods --force --kernels "${KERNEL}" --kmod bmi160 -modinfo /usr/lib/modules/${KERNEL}/extra/bmi160/bmi160_{core,i2c,spi}.ko.xz > /dev/null \ -|| (find /var/cache/akmods/bmi160/ -name \*.log -print -exec cat {} \; && exit 1) - -rm -f /etc/yum.repos.d/_copr_ublue-os-akmods.repo diff --git a/build-kmod-bmi260.sh b/build-kmod-bmi260.sh deleted file mode 100755 index ddbd68d8..00000000 --- a/build-kmod-bmi260.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh - -set -oeux 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/ - -rpm-ostree install \ - akmod-bmi260-*.fc${RELEASE}.${ARCH} -akmods --force --kernels "${KERNEL}" --kmod bmi260 -modinfo /usr/lib/modules/${KERNEL}/extra/bmi260/bmi260_{core,i2c}.ko.xz > /dev/null \ -|| (find /var/cache/akmods/bmi260/ -name \*.log -print -exec cat {} \; && exit 1) - -rm -f /etc/yum.repos.d/_copr_ublue-os-akmods.repo diff --git a/build-kmod-bmi323.sh b/build-kmod-bmi323.sh deleted file mode 100755 index 86815572..00000000 --- a/build-kmod-bmi323.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh - -set -oeux 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/ - -rpm-ostree install \ - akmod-bmi323-*.fc${RELEASE}.${ARCH} -akmods --force --kernels "${KERNEL}" --kmod bmi323 -modinfo /usr/lib/modules/${KERNEL}/extra/bmi323/bm{i323_,c150-accel-}{core,i2c,spi}.ko.xz > /dev/null \ -|| (find /var/cache/akmods/bmi323/ -name \*.log -print -exec cat {} \; && exit 1) - -rm -f /etc/yum.repos.d/_copr_ublue-os-akmods.repo diff --git a/build-kmod-gcadapter_oc.sh b/build-kmod-gcadapter_oc.sh deleted file mode 100755 index b75b21d7..00000000 --- a/build-kmod-gcadapter_oc.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh - -set -oeux 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/ - -rpm-ostree install \ - akmod-gcadapter_oc-*.fc${RELEASE}.${ARCH} -akmods --force --kernels "${KERNEL}" --kmod gcadapter_oc -modinfo /usr/lib/modules/${KERNEL}/extra/gcadapter_oc/gcadapter_oc.ko.xz > /dev/null \ -|| (find /var/cache/akmods/gcadapter_oc/ -name \*.log -print -exec cat {} \; && exit 1) - -rm -f /etc/yum.repos.d/_copr_ublue-os-akmods.repo diff --git a/build-kmod-steamdeck.sh b/build-kmod-steamdeck.sh deleted file mode 100755 index d61549ee..00000000 --- a/build-kmod-steamdeck.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh - -set -oeux 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/ - -rpm-ostree install \ - akmod-steamdeck-*.fc${RELEASE}.${ARCH} -akmods --force --kernels "${KERNEL}" --kmod steamdeck -modinfo /usr/lib/modules/${KERNEL}/extra/steamdeck/steamdeck.ko.xz > /dev/null \ -|| (find /var/cache/akmods/steamdeck/ -name \*.log -print -exec cat {} \; && exit 1) -modinfo /usr/lib/modules/${KERNEL}/extra/steamdeck/steamdeck-hwmon.ko.xz > /dev/null \ -|| (find /var/cache/akmods/steamdeck/ -name \*.log -print -exec cat {} \; && exit 1) -modinfo /usr/lib/modules/${KERNEL}/extra/steamdeck/{extcon,leds}-steamdeck.ko.xz > /dev/null \ -|| (find /var/cache/akmods/steamdeck/ -name \*.log -print -exec cat {} \; && exit 1) - -rm -f /etc/yum.repos.d/_copr_ublue-os-akmods.repo diff --git a/build-kmod-winesync.sh b/build-kmod-winesync.sh deleted file mode 100755 index 6aab62cc..00000000 --- a/build-kmod-winesync.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh - -set -oeux 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 winesync (succeed or fail-fast with debug output) -rpm-ostree install \ - akmod-winesync-*.fc${RELEASE}.${ARCH} -akmods --force --kernels "${KERNEL}" --kmod winesync -modinfo /usr/lib/modules/${KERNEL}/extra/winesync/winesync.ko.xz > /dev/null \ -|| (find /var/cache/akmods/winesync/ -name \*.log -print -exec cat {} \; && exit 1) - -rm -f /etc/yum.repos.d/_copr_ublue-os-akmods.repo