mirror of
https://github.com/ublue-os/akmods.git
synced 2026-11-03 23:09:54 -09:00
feat: Restore framework akmod (#265)
This commit is contained in:
parent
ba1b8834d4
commit
6dd9c300f0
3 changed files with 20 additions and 0 deletions
|
|
@ -46,6 +46,7 @@ RUN --mount=type=cache,dst=/var/cache/dnf \
|
|||
; else \
|
||||
export KERNEL_NAME="kernel-surface" \
|
||||
; fi && \
|
||||
/tmp/build-kmod-framework-laptop.sh && \
|
||||
/tmp/build-kmod-kvmfr.sh && \
|
||||
/tmp/build-kmod-openrazer.sh && \
|
||||
/tmp/build-kmod-v4l2loopback.sh && \
|
||||
|
|
|
|||
|
|
@ -42,6 +42,7 @@ The `nvidia` stream image contains
|
|||
| [bmi260](https://github.com/hhd-dev/bmi260) | extra | kernel module driver for the Bosch BMI260 IMU | [](https://copr.fedorainfracloud.org/coprs/ublue-os/akmods/package/bmi260-kmod) |
|
||||
| [evdi](www.displaylink.com) | extra | kernel module required for use of displaylink | [negativo17 - fedora-multimedia](https://negativo17.org/) |
|
||||
| [facetimehd](https://github.com/patjak/facetimehd/) | extra | kernel module Linux driver for the FacetimeHD (Broadcom 1570) PCIe webcam | [](https://copr.fedorainfracloud.org/coprs/mulderje/facetimehd-kmod/package/facetimehd-kmod) |
|
||||
| [framework-laptop](https://github.com/DHowett/framework-laptop-kmod) | common | A kernel module that exposes the Framework Laptop (13, 16)'s battery charge limit and LEDs to userspace | [](https://copr.fedorainfracloud.org/coprs/ublue-os/akmods/package/framework-laptop-kmod) |
|
||||
| [gcadapter_oc](https://github.com/hannesmann/gcadapter-oc-kmod) | extra | kernel module for overclocking the Nintendo Wii U/Mayflash GameCube adapter | [](https://copr.fedorainfracloud.org/coprs/ublue-os/akmods/package/gcadapter_oc-kmod) |
|
||||
| [kvmfr](https://github.com/gnif/looking-glass) | common | KVM framebuffer relay kernel module for use with Looking Glass | [](https://copr.fedorainfracloud.org/coprs/hikariknight/looking-glass-kvmfr/package/kvmfr-kmod) |
|
||||
| [nct6687d](https://github.com/Fred78290/nct6687d) | extra | Linux kernel module for Nuvoton NCT6687-R found on AMD B550 chipset motherboards | [](https://copr.fedorainfracloud.org/coprs/ublue-os/akmods/package/nct6687d-kmod) |
|
||||
|
|
|
|||
18
build-kmod-framework-laptop.sh
Executable file
18
build-kmod-framework-laptop.sh
Executable file
|
|
@ -0,0 +1,18 @@
|
|||
#!/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 framework-laptop (succeed or fail-fast with debug output)
|
||||
dnf install -y \
|
||||
akmod-framework-laptop-*.fc${RELEASE}.${ARCH}
|
||||
akmods --force --kernels "${KERNEL}" --kmod framework-laptop
|
||||
modinfo /usr/lib/modules/${KERNEL}/extra/framework-laptop/framework_laptop.ko.xz > /dev/null \
|
||||
|| (find /var/cache/akmods/framework_laptop/ -name \*.log -print -exec cat {} \; && exit 1)
|
||||
|
||||
rm -f /etc/yum.repos.d/_copr_ublue-os-akmods.repo
|
||||
Loading…
Reference in a new issue