mirror of
https://github.com/ublue-os/akmods.git
synced 2026-11-03 23:09:54 -09:00
chore: Restore bmi260 kmod
This commit is contained in:
parent
734a739fe8
commit
271b41ca88
3 changed files with 19 additions and 0 deletions
|
|
@ -37,6 +37,7 @@ RUN if grep -qv "surface" <<< "${KERNEL_FLAVOR}"; then \
|
|||
; fi && \
|
||||
/tmp/build-kmod-ayaneo-platform.sh && \
|
||||
/tmp/build-kmod-ayn-platform.sh && \
|
||||
/tmp/build-kmod-bmi260.sh && \
|
||||
/tmp/build-kmod-facetimehd.sh \
|
||||
/tmp/build-kmod-framework-laptop.sh && \
|
||||
/tmp/build-kmod-gcadapter_oc.sh && \
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@ Feel free to PR more kmod build scripts into this repo!
|
|||
|---------|--------|-------------|--------|
|
||||
| [ayaneo-platform](https://github.com/ShadowBlip/ayaneo-platform) | extra | Linux drivers for AYANEO x86 handhelds | [](https://copr.fedorainfracloud.org/coprs/ublue-os/akmods/package/ayaneo-platform-kmod) |
|
||||
| [ayn-platform](https://github.com/ShadowBlip/ayn-platform) | extra | Linux drivers for AYN x86 handhelds | [](https://copr.fedorainfracloud.org/coprs/ublue-os/akmods/package/ayn-platform-kmod) |
|
||||
| [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) | common | 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) | extra | 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) |
|
||||
|
|
|
|||
17
build-kmod-bmi260.sh
Executable file
17
build-kmod-bmi260.sh
Executable file
|
|
@ -0,0 +1,17 @@
|
|||
#!/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
|
||||
Loading…
Reference in a new issue