fix: remove Bazzite and unused modules (#414)

* fix: remove bazzite and all of its modules

* fix: remove extra image by merging it into common

* fix: update codeowners

* fix: remove spurious cat

* fix: remove fedora 41

* fix: only build previous extra modules for x86

* fix: remove extra modules from common

* chore: update readme by removing removed modules

* fix: remove kvmfr completely
This commit is contained in:
Antheas Kapenekakis 2025-11-01 19:22:06 +01:00 committed by GitHub
parent f5b4cbc644
commit 9d0f6b0af6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
31 changed files with 15 additions and 944 deletions

2
.github/CODEOWNERS vendored
View file

@ -1 +1 @@
* @castrojo
* @ublue-os/approver

View file

@ -23,7 +23,6 @@ body:
description: Which specific image do you want?
options:
- All Images
- Bazzite
- Kinoite
- Mate
- Silverblue

View file

@ -1,199 +0,0 @@
---
#
# WARNING THIS IS A GENERATED WORKFLOW. DO NOT EDIT BY HAND!
#
# Generate the workflow by running `just generate-workflows` at git root
# Modify the inputs in workflow-templates
name: Build BAZZITE akmods
on:
merge_group:
pull_request:
branches:
- main
paths-ignore:
- '**.md'
schedule:
- cron: '13 0 * * *' # 0013 UTC everyday
workflow_dispatch:
inputs:
bazzite_tag:
description: "The release tag for the bazzite kernel"
required: false
type: string
jobs:
cache_kernel_bazzite_42:
name: Cache bazzite (42)
uses: ./.github/workflows/reusable-cache-kernel.yml
secrets: inherit
permissions:
actions: read
contents: read
packages: write
with:
architecture: '["x86_64"]'
kernel_flavor: bazzite
version: 42
bazzite_tag: ${{ inputs.bazzite_tag }}
build-bazzite_42_common:
name: Build common bazzite (42)
uses: ./.github/workflows/reusable-build.yml
secrets: inherit
permissions:
actions: read
contents: read
packages: write
needs: cache_kernel_bazzite_42
with:
akmods_target: common
architecture: '["x86_64"]'
kernel_cache_key: ${{ needs.cache_kernel_bazzite_42.outputs.KCKEY }}
kernel_flavor: bazzite
version: 42
build-bazzite_42_extra:
name: Build extra bazzite (42)
uses: ./.github/workflows/reusable-build.yml
secrets: inherit
permissions:
actions: read
contents: read
packages: write
needs: cache_kernel_bazzite_42
with:
akmods_target: extra
architecture: '["x86_64"]'
kernel_cache_key: ${{ needs.cache_kernel_bazzite_42.outputs.KCKEY }}
kernel_flavor: bazzite
version: 42
build-bazzite_42_nvidia:
name: Build nvidia bazzite (42)
uses: ./.github/workflows/reusable-build.yml
secrets: inherit
permissions:
actions: read
contents: read
packages: write
needs: cache_kernel_bazzite_42
with:
akmods_target: nvidia
architecture: '["x86_64"]'
kernel_cache_key: ${{ needs.cache_kernel_bazzite_42.outputs.KCKEY }}
kernel_flavor: bazzite
version: 42
build-bazzite_42_nvidia-open:
name: Build nvidia-open bazzite (42)
uses: ./.github/workflows/reusable-build.yml
secrets: inherit
permissions:
actions: read
contents: read
packages: write
needs: cache_kernel_bazzite_42
with:
akmods_target: nvidia-open
architecture: '["x86_64"]'
kernel_cache_key: ${{ needs.cache_kernel_bazzite_42.outputs.KCKEY }}
kernel_flavor: bazzite
version: 42
check-bazzite_42:
name: Check bazzite (42)
permissions:
actions: read
contents: read
needs: [build-bazzite_42_common,build-bazzite_42_extra,build-bazzite_42_nvidia,build-bazzite_42_nvidia-open]
runs-on: ubuntu-24.04
if: always()
steps:
- name: Check for Build Failures
if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') || contains(needs.*.result, 'skipped')
run: exit 1
- name: Exit if Success
run: exit 0
cache_kernel_bazzite_43:
name: Cache bazzite (43)
uses: ./.github/workflows/reusable-cache-kernel.yml
secrets: inherit
permissions:
actions: read
contents: read
packages: write
with:
architecture: '["x86_64"]'
kernel_flavor: bazzite
version: 43
bazzite_tag: ${{ inputs.bazzite_tag }}
build-bazzite_43_common:
name: Build common bazzite (43)
uses: ./.github/workflows/reusable-build.yml
secrets: inherit
permissions:
actions: read
contents: read
packages: write
needs: cache_kernel_bazzite_43
with:
akmods_target: common
architecture: '["x86_64"]'
kernel_cache_key: ${{ needs.cache_kernel_bazzite_43.outputs.KCKEY }}
kernel_flavor: bazzite
version: 43
build-bazzite_43_extra:
name: Build extra bazzite (43)
uses: ./.github/workflows/reusable-build.yml
secrets: inherit
permissions:
actions: read
contents: read
packages: write
needs: cache_kernel_bazzite_43
with:
akmods_target: extra
architecture: '["x86_64"]'
kernel_cache_key: ${{ needs.cache_kernel_bazzite_43.outputs.KCKEY }}
kernel_flavor: bazzite
version: 43
build-bazzite_43_nvidia:
name: Build nvidia bazzite (43)
uses: ./.github/workflows/reusable-build.yml
secrets: inherit
permissions:
actions: read
contents: read
packages: write
needs: cache_kernel_bazzite_43
with:
akmods_target: nvidia
architecture: '["x86_64"]'
kernel_cache_key: ${{ needs.cache_kernel_bazzite_43.outputs.KCKEY }}
kernel_flavor: bazzite
version: 43
build-bazzite_43_nvidia-open:
name: Build nvidia-open bazzite (43)
uses: ./.github/workflows/reusable-build.yml
secrets: inherit
permissions:
actions: read
contents: read
packages: write
needs: cache_kernel_bazzite_43
with:
akmods_target: nvidia-open
architecture: '["x86_64"]'
kernel_cache_key: ${{ needs.cache_kernel_bazzite_43.outputs.KCKEY }}
kernel_flavor: bazzite
version: 43
check-bazzite_43:
name: Check bazzite (43)
permissions:
actions: read
contents: read
needs: [build-bazzite_43_common,build-bazzite_43_extra,build-bazzite_43_nvidia,build-bazzite_43_nvidia-open]
runs-on: ubuntu-24.04
if: always()
steps:
- name: Check for Build Failures
if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') || contains(needs.*.result, 'skipped')
run: exit 1
- name: Exit if Success
run: exit 0

View file

@ -103,90 +103,3 @@ jobs:
- name: Exit if Success
run: exit 0
cache_kernel_coreos-stable_41:
name: Cache coreos-stable (41)
uses: ./.github/workflows/reusable-cache-kernel.yml
secrets: inherit
permissions:
actions: read
contents: read
packages: write
with:
architecture: '["x86_64"]'
kernel_flavor: coreos-stable
version: 41
build-coreos-stable_41_common:
name: Build common coreos-stable (41)
uses: ./.github/workflows/reusable-build.yml
secrets: inherit
permissions:
actions: read
contents: read
packages: write
needs: cache_kernel_coreos-stable_41
with:
akmods_target: common
architecture: '["x86_64"]'
kernel_cache_key: ${{ needs.cache_kernel_coreos-stable_41.outputs.KCKEY }}
kernel_flavor: coreos-stable
version: 41
build-coreos-stable_41_nvidia:
name: Build nvidia coreos-stable (41)
uses: ./.github/workflows/reusable-build.yml
secrets: inherit
permissions:
actions: read
contents: read
packages: write
needs: cache_kernel_coreos-stable_41
with:
akmods_target: nvidia
architecture: '["x86_64"]'
kernel_cache_key: ${{ needs.cache_kernel_coreos-stable_41.outputs.KCKEY }}
kernel_flavor: coreos-stable
version: 41
build-coreos-stable_41_nvidia-open:
name: Build nvidia-open coreos-stable (41)
uses: ./.github/workflows/reusable-build.yml
secrets: inherit
permissions:
actions: read
contents: read
packages: write
needs: cache_kernel_coreos-stable_41
with:
akmods_target: nvidia-open
architecture: '["x86_64"]'
kernel_cache_key: ${{ needs.cache_kernel_coreos-stable_41.outputs.KCKEY }}
kernel_flavor: coreos-stable
version: 41
build-coreos-stable_41_zfs:
name: Build zfs coreos-stable (41)
uses: ./.github/workflows/reusable-build.yml
secrets: inherit
permissions:
actions: read
contents: read
packages: write
needs: cache_kernel_coreos-stable_41
with:
akmods_target: zfs
architecture: '["x86_64"]'
kernel_cache_key: ${{ needs.cache_kernel_coreos-stable_41.outputs.KCKEY }}
kernel_flavor: coreos-stable
version: 41
check-coreos-stable_41:
name: Check coreos-stable (41)
permissions:
actions: read
contents: read
needs: [build-coreos-stable_41_common,build-coreos-stable_41_nvidia,build-coreos-stable_41_nvidia-open,build-coreos-stable_41_zfs]
runs-on: ubuntu-24.04
if: always()
steps:
- name: Check for Build Failures
if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') || contains(needs.*.result, 'skipped')
run: exit 1
- name: Exit if Success
run: exit 0

View file

@ -16,93 +16,6 @@ on:
- cron: '07 0 * * *' # 0007 UTC everyday
workflow_dispatch:
jobs:
cache_kernel_coreos-testing_41:
name: Cache coreos-testing (41)
uses: ./.github/workflows/reusable-cache-kernel.yml
secrets: inherit
permissions:
actions: read
contents: read
packages: write
with:
architecture: '["x86_64"]'
kernel_flavor: coreos-testing
version: 41
build-coreos-testing_41_common:
name: Build common coreos-testing (41)
uses: ./.github/workflows/reusable-build.yml
secrets: inherit
permissions:
actions: read
contents: read
packages: write
needs: cache_kernel_coreos-testing_41
with:
akmods_target: common
architecture: '["x86_64"]'
kernel_cache_key: ${{ needs.cache_kernel_coreos-testing_41.outputs.KCKEY }}
kernel_flavor: coreos-testing
version: 41
build-coreos-testing_41_nvidia:
name: Build nvidia coreos-testing (41)
uses: ./.github/workflows/reusable-build.yml
secrets: inherit
permissions:
actions: read
contents: read
packages: write
needs: cache_kernel_coreos-testing_41
with:
akmods_target: nvidia
architecture: '["x86_64"]'
kernel_cache_key: ${{ needs.cache_kernel_coreos-testing_41.outputs.KCKEY }}
kernel_flavor: coreos-testing
version: 41
build-coreos-testing_41_nvidia-open:
name: Build nvidia-open coreos-testing (41)
uses: ./.github/workflows/reusable-build.yml
secrets: inherit
permissions:
actions: read
contents: read
packages: write
needs: cache_kernel_coreos-testing_41
with:
akmods_target: nvidia-open
architecture: '["x86_64"]'
kernel_cache_key: ${{ needs.cache_kernel_coreos-testing_41.outputs.KCKEY }}
kernel_flavor: coreos-testing
version: 41
build-coreos-testing_41_zfs:
name: Build zfs coreos-testing (41)
uses: ./.github/workflows/reusable-build.yml
secrets: inherit
permissions:
actions: read
contents: read
packages: write
needs: cache_kernel_coreos-testing_41
with:
akmods_target: zfs
architecture: '["x86_64"]'
kernel_cache_key: ${{ needs.cache_kernel_coreos-testing_41.outputs.KCKEY }}
kernel_flavor: coreos-testing
version: 41
check-coreos-testing_41:
name: Check coreos-testing (41)
permissions:
actions: read
contents: read
needs: [build-coreos-testing_41_common,build-coreos-testing_41_nvidia,build-coreos-testing_41_nvidia-open,build-coreos-testing_41_zfs]
runs-on: ubuntu-24.04
if: always()
steps:
- name: Check for Build Failures
if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') || contains(needs.*.result, 'skipped')
run: exit 1
- name: Exit if Success
run: exit 0
cache_kernel_coreos-testing_42:
name: Cache coreos-testing (42)
uses: ./.github/workflows/reusable-cache-kernel.yml

View file

@ -16,78 +16,6 @@ on:
- cron: '01 0 * * *' # 0001 UTC everyday
workflow_dispatch:
jobs:
cache_kernel_main_41:
name: Cache main (41)
uses: ./.github/workflows/reusable-cache-kernel.yml
secrets: inherit
permissions:
actions: read
contents: read
packages: write
with:
architecture: '["x86_64"]'
kernel_flavor: main
version: 41
build-main_41_common:
name: Build common main (41)
uses: ./.github/workflows/reusable-build.yml
secrets: inherit
permissions:
actions: read
contents: read
packages: write
needs: cache_kernel_main_41
with:
akmods_target: common
architecture: '["x86_64"]'
kernel_cache_key: ${{ needs.cache_kernel_main_41.outputs.KCKEY }}
kernel_flavor: main
version: 41
build-main_41_nvidia:
name: Build nvidia main (41)
uses: ./.github/workflows/reusable-build.yml
secrets: inherit
permissions:
actions: read
contents: read
packages: write
needs: cache_kernel_main_41
with:
akmods_target: nvidia
architecture: '["x86_64"]'
kernel_cache_key: ${{ needs.cache_kernel_main_41.outputs.KCKEY }}
kernel_flavor: main
version: 41
build-main_41_nvidia-open:
name: Build nvidia-open main (41)
uses: ./.github/workflows/reusable-build.yml
secrets: inherit
permissions:
actions: read
contents: read
packages: write
needs: cache_kernel_main_41
with:
akmods_target: nvidia-open
architecture: '["x86_64"]'
kernel_cache_key: ${{ needs.cache_kernel_main_41.outputs.KCKEY }}
kernel_flavor: main
version: 41
check-main_41:
name: Check main (41)
permissions:
actions: read
contents: read
needs: [build-main_41_common,build-main_41_nvidia,build-main_41_nvidia-open]
runs-on: ubuntu-24.04
if: always()
steps:
- name: Check for Build Failures
if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') || contains(needs.*.result, 'skipped')
run: exit 1
- name: Exit if Success
run: exit 0
cache_kernel_main_42:
name: Cache main (42)
uses: ./.github/workflows/reusable-cache-kernel.yml

View file

@ -4,7 +4,7 @@ on:
workflow_call:
inputs:
akmods_target:
description: "The akmods to build: common, extra, zfs, nvidia, nvidia-open"
description: "The akmods to build: common, zfs, nvidia, nvidia-open"
required: true
type: string
architecture:
@ -12,12 +12,8 @@ on:
default: "['x86_64']"
required: false
type: string
bazzite_tag:
description: "The release tag for the bazzite kernel"
required: false
type: string
kernel_flavor:
description: "The Kernel flavor: main, bazzite, coreos-stable, centos-kmodsig, longterm-6.12, etc"
description: "The Kernel flavor: main, coreos-stable, centos-kmodsig, longterm-6.12, etc"
required: true
type: string
version:
@ -31,7 +27,7 @@ on:
workflow_dispatch:
inputs:
akmods_target:
description: "The akmods to build: common, extra, zfs, nvidia, nvidia-open"
description: "The akmods to build: common, zfs, nvidia, nvidia-open"
required: true
type: string
architecture:
@ -39,12 +35,8 @@ on:
default: "['x86_64']"
required: false
type: string
bazzite_tag:
description: "The release tag for the bazzite kernel"
required: false
type: string
kernel_flavor:
description: "The Kernel flavor: main, bazzite, coreos-stable, centos-kmodsig, longterm-6.12, etc"
description: "The Kernel flavor: main, coreos-stable, centos-kmodsig, longterm-6.12, etc"
required: true
type: string
version:
@ -56,7 +48,6 @@ on:
required: true
type: string
env:
AKMODS_BAZZITE_TAG: ${{ inputs.bazzite_tag }}
AKMODS_KERNEL: ${{ inputs.kernel_flavor }}
AKMODS_TARGET: ${{ inputs.akmods_target }}
AKMODS_VERSION: ${{ inputs.version }}

View file

@ -8,12 +8,8 @@ on:
default: "['x86_64']"
required: false
type: string
bazzite_tag:
description: "The release tag for the bazzite kernel"
required: false
type: string
kernel_flavor:
description: "The Kernel flavor: main, bazzite, coreos-stable, centos-kmodsig, longterm-6.12, etc"
description: "The Kernel flavor: main, coreos-stable, centos-kmodsig, longterm-6.12, etc"
required: true
type: string
version:
@ -31,12 +27,8 @@ on:
default: "['x86_64']"
required: false
type: string
bazzite_tag:
description: "The release tag for the bazzite kernel"
required: false
type: string
kernel_flavor:
description: "The Kernel flavor: main, bazzite, coreos-stable, centos-kmodsig, longterm-6.12, etc"
description: "The Kernel flavor: main, coreos-stable, centos-kmodsig, longterm-6.12, etc"
required: true
type: string
version:
@ -44,7 +36,6 @@ on:
required: true
type: string
env:
AKMODS_BAZZITE_TAG: ${{ inputs.bazzite_tag }}
AKMODS_KERNEL: ${{ inputs.kernel_flavor }}
AKMODS_VERSION: ${{ inputs.version }}
@ -70,7 +61,6 @@ jobs:
matrix:
architecture: ${{ fromJson(inputs.architecture) }}
env:
AKMODS_BAZZITE_TAG: ${{ inputs.bazzite_tag }}
AKMODS_KERNEL: ${{ inputs.kernel_flavor }}
AKMODS_VERSION: ${{ inputs.version }}

View file

@ -86,42 +86,12 @@ RUN --mount=type=cache,dst=/var/cache/dnf \
--mount=type=cache,dst=/var/cache/libdnf5 \
bash <<'RUNEOF'
/tmp/build-kmod-framework-laptop.sh
/tmp/build-kmod-kvmfr.sh
/tmp/build-kmod-openrazer.sh
/tmp/build-kmod-v4l2loopback.sh
/tmp/build-kmod-wl.sh
/tmp/build-kmod-xone.sh
RUNEOF
#elif defined EXTRA
# /*
# extra akmods
# */
COPY build_files/extra /tmp/
RUN --mount=type=cache,dst=/var/cache/dnf \
--mount=type=cache,dst=/var/cache/libdnf5 \
bash <<'RUNEOF'
if grep -qv "bazzite" <<< "${KERNEL_FLAVOR}"; then
/tmp/build-kmod-VirtualBox.sh
/tmp/build-kmod-facetimehd.sh
/tmp/build-kmod-rtl8814au.sh
/tmp/build-kmod-rtl88xxau.sh
fi
/tmp/build-kmod-ayaneo-platform.sh
/tmp/build-kmod-ayn-platform.sh
/tmp/build-kmod-bmi260.sh
/tmp/build-kmod-evdi.sh
/tmp/build-kmod-gcadapter_oc.sh
/tmp/build-kmod-gpd-fan.sh
/tmp/build-kmod-nct6687d.sh
/tmp/build-kmod-ryzen-smu.sh
/tmp/build-kmod-system76-io.sh
/tmp/build-kmod-system76.sh
/tmp/build-kmod-vhba.sh
/tmp/build-kmod-zenergy.sh
RUNEOF
#elif defined NVIDIA
# /*
# nvidia kmods

View file

@ -16,7 +16,6 @@ builder := if kernel_flavor =~ 'centos' { 'quay.io/centos/centos:' + version } e
kernel_flavor := env('AKMODS_KERNEL', shell('yq ".defaults.kernel_flavor" images.yaml'))
version := env('AKMODS_VERSION', if kernel_flavor =~ 'centos' { '10' } else { shell('yq ".defaults.version" images.yaml') })
akmods_target := env('AKMODS_TARGET', if kernel_flavor =~ 'centos' { 'zfs' } else { shell('yq ".defaults.akmods_target" images.yaml') })
bazzite_tag := env('AKMODS_BAZZITE_TAG', '')
# Check if valid
@ -154,15 +153,6 @@ get-kernel-version:
kernel_name=kernel
case {{ kernel_flavor }} in
"bazzite")
if [[ -n "{{ bazzite_tag }}" ]]; then
latest="$(curl -s "https://api.github.com/repos/bazzite-org/kernel-bazzite/releases/tags/{{ bazzite_tag }}" )"
else
latest="$(curl -s "https://api.github.com/repos/bazzite-org/kernel-bazzite/releases/latest")"
fi
linux=$(echo "$latest" | jq -r '.assets[].name | match("kernel-.*fc{{ version }}.{{ arch() }}.rpm").string' | head -1 | sed "s/kernel-//g;s/.rpm//g")
build_tag=$(echo -E $latest | jq -r '.tag_name')
;;
"centos")
$dnf makecache >&2
linux=$($dnf repoquery --whatprovides kernel | sort -V | tail -n1 | sed 's/.*://')
@ -213,7 +203,6 @@ get-kernel-version:
linux="$(echo $linux | tr -d '[:cntrl:]')"
# Debug Output
{{ if bazzite_tag != '' { 'echo "kernel_build_tag: ${build_tag}" >&2' } else { '' } }}
echo "kernel_flavor: {{ kernel_flavor }}" >&2
echo "kernel_major_minor_patch: ${kernel_major_minor_patch}" >&2
echo "kernel_release: ${linux}" >&2
@ -305,7 +294,7 @@ build: (cache-kernel-version) (fetch-kernel)
fi
LABELS=(
"--label" "io.artifacthub.package.deprecated=false"
"--label" "io.artifacthub.package.keywords=bootc,fedora,bluefin,bazzite,centos,cayo,aurora,ublue,universal-blue"
"--label" "io.artifacthub.package.keywords=bootc,fedora,bluefin,centos,cayo,aurora,ublue,universal-blue"
"--label" "io.artifacthub.package.logo-url=https://avatars.githubusercontent.com/u/120078124?s=200&v=4"
"--label" "io.artifacthub.package.maintainers=[{\"name\": \"castrojo\", \"email\": \"jorge.castro@gmail.com\"}]"
"--label" "io.artifacthub.package.readme-url=https://raw.githubusercontent.com/ublue-os/akmods/refs/heads/main/README.md"
@ -397,7 +386,7 @@ manifest:
LABELS=(
"io.artifacthub.package.deprecated=false"
"io.artifacthub.package.keywords=bootc,fedora,bluefin,bazzite,centos,cayo,aurora,ublue,universal-blue"
"io.artifacthub.package.keywords=bootc,fedora,bluefin,centos,cayo,aurora,ublue,universal-blue"
"io.artifacthub.package.logo-url=https://avatars.githubusercontent.com/u/120078124?s=200&v=4"
"io.artifacthub.package.maintainers=[{\"name\": \"castrojo\", \"email\": \"jorge.castro@gmail.com\"}]"
"io.artifacthub.package.readme-url=https://raw.githubusercontent.com/ublue-os/akmods/refs/heads/main/README.md"
@ -501,15 +490,7 @@ generate-workflows:
# Modify the inputs in workflow-templates
EOF
sed "s/AKMODs/${i^^} akmods/;s/05/$(printf '%02d' $(( RANDOM % 30)))/g" ./workflow-templates/workflow.yaml.in
if [[ "$i" =~ bazzite ]]; then
cat <<'EOF'
inputs:
bazzite_tag:
description: "The release tag for the bazzite kernel"
required: false
type: string
EOF
fi
echo "jobs:"
for j in "${!workflows[@]}"; do
if [[ ! "$j" =~ $i$ ]]; then
@ -520,9 +501,6 @@ generate-workflows:
kernel_flavor_clean=$(echo $kernel_flavor | tr '.' '-')
kernel_arch=$(echo "${workflows[$j]}" | cut -d "," -f 3-)
sed -e "s/%%ARCHITECTURE%%/$kernel_arch/;s/%%KERNEL_FLAVOR%%/$kernel_flavor/;s/%%KERNEL_FLAVOR_CLEAN%%/$kernel_flavor_clean/;s/%%VERSION%%/$version/" ./workflow-templates/cache_kernel.yaml.in
if [[ "$i" =~ bazzite ]]; then
printf ' %s\n' 'bazzite_tag: ${{{{ inputs.bazzite_tag }}'
fi
workflow_targets=()
for k in "${targets[@]}"; do
value="${images[$j-$k]:-}"

View file

@ -1,6 +1,6 @@
# ublue-os akmods
[![Build BAZZITE akmods](https://github.com/ublue-os/akmods/actions/workflows/build-akmods-bazzite.yml/badge.svg)](https://github.com/ublue-os/akmods/actions/workflows/build-akmods-bazzite.yml)[![Build CENTOS akmods](https://github.com/ublue-os/akmods/actions/workflows/build-akmods-centos.yml/badge.svg)](https://github.com/ublue-os/akmods/actions/workflows/build-akmods-centos.yml)[![Build COREOS-STABLE akmods](https://github.com/ublue-os/akmods/actions/workflows/build-akmods-coreos-stable.yml/badge.svg)](https://github.com/ublue-os/akmods/actions/workflows/build-akmods-coreos-stable.yml)[![Build COREOS-TESTING akmods](https://github.com/ublue-os/akmods/actions/workflows/build-akmods-coreos-testing.yml/badge.svg)](https://github.com/ublue-os/akmods/actions/workflows/build-akmods-coreos-testing.yml)[![Build LONGTERM-6.12 akmods](https://github.com/ublue-os/akmods/actions/workflows/build-akmods-longterm-6.12.yml/badge.svg)](https://github.com/ublue-os/akmods/actions/workflows/build-akmods-longterm-6.12.yml)[![Build MAIN akmods](https://github.com/ublue-os/akmods/actions/workflows/build-akmods-main.yml/badge.svg)](https://github.com/ublue-os/akmods/actions/workflows/build-akmods-main.yml)
[![Build CENTOS akmods](https://github.com/ublue-os/akmods/actions/workflows/build-akmods-centos.yml/badge.svg)](https://github.com/ublue-os/akmods/actions/workflows/build-akmods-centos.yml)[![Build COREOS-STABLE akmods](https://github.com/ublue-os/akmods/actions/workflows/build-akmods-coreos-stable.yml/badge.svg)](https://github.com/ublue-os/akmods/actions/workflows/build-akmods-coreos-stable.yml)[![Build COREOS-TESTING akmods](https://github.com/ublue-os/akmods/actions/workflows/build-akmods-coreos-testing.yml/badge.svg)](https://github.com/ublue-os/akmods/actions/workflows/build-akmods-coreos-testing.yml)[![Build LONGTERM-6.12 akmods](https://github.com/ublue-os/akmods/actions/workflows/build-akmods-longterm-6.12.yml/badge.svg)](https://github.com/ublue-os/akmods/actions/workflows/build-akmods-longterm-6.12.yml)[![Build MAIN akmods](https://github.com/ublue-os/akmods/actions/workflows/build-akmods-main.yml/badge.svg)](https://github.com/ublue-os/akmods/actions/workflows/build-akmods-main.yml)
OCI images providing a set of cached kernel RPMs and extra kernel modules to Universal Blue images. Used for better hardware support and consistent build process.
@ -11,7 +11,6 @@ The [`akmods` images](https://github.com/orgs/ublue-os/packages?repo_name=akmods
The akmods packages are divided up for building in a few different "groups":
- `common` - any kmod installed by default in Bluefin/Aurora (or were originally in main images pre-Fedora 39)
- `extra` - any kmods used by Bazzite but not Bluefine/Aurora
- `nvidia` - only the nvidia proprietary kmod and addons
- `nvidia-open` - only the nvidia-open kmod and addons
- `zfs` - only the zfs kmod and utilities built for select kernels
@ -20,7 +19,6 @@ Each of these images contains a cached copy of the respective kernel RPMs compat
Builds also run for different kernels:
- `bazzite` - Bazzite [builds a kernel with gaming specific patches](https://github.com/bazzite-org/kernel-bazzite) for the current release of Fedora
- `main` - Mainline Fedora Kernel
- `coreos-stable` - Current Fedora CoreOS stable kernel version
- `coreos-testing` - Current Fedora CoreOS testing kernel version
@ -50,23 +48,10 @@ The `nvidia` and `nvidia-open` images contains
| Group | Package | Description | Source |
|-------|---------|-------------|--------|
| common | [framework-laptop](https://github.com/DHowett/framework-laptop-kmod) | A kernel module that exposes the Framework Laptop (13, 16)'s battery charge limit and LEDs to userspace | [![badge](https://copr.fedorainfracloud.org/coprs/ublue-os/akmods/package/framework-laptop-kmod/status_image/last_build.png)](https://copr.fedorainfracloud.org/coprs/ublue-os/akmods/package/framework-laptop-kmod) |
| common | [kvmfr](https://github.com/gnif/looking-glass) | KVM framebuffer relay kernel module for use with Looking Glass | [![badge](https://copr.fedorainfracloud.org/coprs/hikariknight/looking-glass-kvmfr/package/kvmfr-kmod/status_image/last_build.png)](https://copr.fedorainfracloud.org/coprs/hikariknight/looking-glass-kvmfr/package/kvmfr-kmod) |
| common | [openrazer](https://openrazer.github.io/) | kernel module adding additional features to Razer hardware | [![badge](https://copr.fedorainfracloud.org/coprs/ublue-os/akmods/package/openrazer-kmod/status_image/last_build.png)](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 | [![badge](https://copr.fedorainfracloud.org/coprs/ublue-os/akmods/package/xone-kmod/status_image/last_build.png)](https://copr.fedorainfracloud.org/coprs/ublue-os/akmods/package/xone-kmod) |
| extra | [ayaneo-platform](https://github.com/ShadowBlip/ayaneo-platform) | Linux drivers for AYANEO x86 handhelds | [![badge](https://copr.fedorainfracloud.org/coprs/ublue-os/akmods/package/ayaneo-platform-kmod/status_image/last_build.png)](https://copr.fedorainfracloud.org/coprs/ublue-os/akmods/package/ayaneo-platform-kmod) |
| extra | [ayn-platform](https://github.com/ShadowBlip/ayn-platform) | Linux drivers for AYN x86 handhelds | [![badge](https://copr.fedorainfracloud.org/coprs/ublue-os/akmods/package/ayn-platform-kmod/status_image/last_build.png)](https://copr.fedorainfracloud.org/coprs/ublue-os/akmods/package/ayn-platform-kmod) |
| extra | [bmi260](https://github.com/hhd-dev/bmi260) | kernel module driver for the Bosch BMI260 IMU | [![badge](https://copr.fedorainfracloud.org/coprs/ublue-os/akmods/package/bmi260-kmod/status_image/last_build.png)](https://copr.fedorainfracloud.org/coprs/ublue-os/akmods/package/bmi260-kmod) |
| extra | [evdi](www.displaylink.com) | kernel module required for use of displaylink | [negativo17 - fedora-multimedia](https://negativo17.org/) |
| extra | [gcadapter_oc](https://github.com/hannesmann/gcadapter-oc-kmod) | kernel module for overclocking the Nintendo Wii U/Mayflash GameCube adapter | [![badge](https://copr.fedorainfracloud.org/coprs/ublue-os/akmods/package/gcadapter_oc-kmod/status_image/last_build.png)](https://copr.fedorainfracloud.org/coprs/ublue-os/akmods/package/gcadapter_oc-kmod) |
| extra | [gpd-fan](https://github.com/KyleGospo/gpd-fan-driver) | kernel module to control fan speeds on GPD handhelds | [![badge](https://copr.fedorainfracloud.org/coprs/ublue-os/akmods/package/gpd-fan-kmod/status_image/last_build.png)](https://copr.fedorainfracloud.org/coprs/ublue-os/akmods/package/gpd-fan-kmod) |
| extra | [nct6687d](https://github.com/Fred78290/nct6687d) | Linux kernel module for Nuvoton NCT6687-R found on AMD B550 chipset motherboards | [![badge](https://copr.fedorainfracloud.org/coprs/ublue-os/akmods/package/nct6687d-kmod/status_image/last_build.png)](https://copr.fedorainfracloud.org/coprs/ublue-os/akmods/package/nct6687d-kmod) |
| extra | [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 | [![badge](https://copr.fedorainfracloud.org/coprs/ublue-os/akmods/package/ryzen-smu-kmod/status_image/last_build.png)](https://copr.fedorainfracloud.org/coprs/ublue-os/akmods/package/ryzen-smu-kmod) |
| extra | [system76](https://github.com/pop-os/system76-dkms) | A Linux kernel driver for System76 laptops | [![badge](https://copr.fedorainfracloud.org/coprs/ssweeny/system76-hwe/package/system76-driver-kmod/status_image/last_build.png)](https://copr.fedorainfracloud.org/coprs/ssweeny/system76-hwe/package/system76-driver-kmod/) |
| extra | [system76-io](https://github.com/pop-os/system76-io-dkms) | A Linux kernel driver for the System76 Io board, which is used in System76's Thelio desktop line | [![badge](https://copr.fedorainfracloud.org/coprs/ssweeny/system76-hwe/package/system76-io-akmod/status_image/last_build.png)](https://copr.fedorainfracloud.org/coprs/ssweeny/system76-hwe/package/system76-io-akmod/) |
| extra | [zenergy](https://github.com/BoukeHaarsma23/zenergy) | Based on AMD_ENERGY driver, but with some jiffies added so non-root users can read it safely | [![badge](https://copr.fedorainfracloud.org/coprs/ublue-os/akmods/package/zenergy-kmod/status_image/last_build.png)](https://copr.fedorainfracloud.org/coprs/ublue-os/akmods/package/zenergy-kmod) |
| nvidia | [nvidia](https://negativo17.org/nvidia-driver/) | nvidia GPU drivers | [negativo17 - fedora-nvidia](https://negativo17.org/) |
| 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) |
@ -153,10 +138,10 @@ You can see your current settings with `just --evaluate`
Additionally you can pass values as key/value pairs.
```bash
just kernel_flavor=bazzite version=42 akmods_target=extra build
just kernel_flavor=main version=42 akmods_target=extra build
```
Which will build the extra package for Bazzite.
Which will build the extra package for main.
Note, the `Justfile` will compare your inputs to the `images.yaml` file to ensure you have a valid combination.

View file

@ -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')"
if [[ "${RELEASE}" -ge 41 ]]; then
COPR_RELEASE="rawhide"
else
COPR_RELEASE="${RELEASE}"
fi
curl -LsSf -o /etc/yum.repos.d/_copr_hikariknight-looking-glass-kvmfr.repo "https://copr.fedorainfracloud.org/coprs/hikariknight/looking-glass-kvmfr/repo/fedora-${COPR_RELEASE}/hikariknight-looking-glass-kvmfr-fedora-${COPR_RELEASE}.repo"
### BUILD kvmfr (succeed or fail-fast with debug output)
dnf install -y \
"akmod-kvmfr-*.fc${RELEASE}.${ARCH}"
akmods --force --kernels "${KERNEL}" --kmod kvmfr
modinfo "/usr/lib/modules/${KERNEL}/extra/kvmfr/kvmfr.ko.xz" > /dev/null \
|| (find /var/cache/akmods/kvmfr/ -name \*.log -print -exec cat {} \; && exit 1)
rm -f /etc/yum.repos.d/_copr_hikariknight-looking-glass-kvmfr.repo

View file

@ -1,15 +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')"
### BUILD VirtualBox (succeed or fail-fast with debug output)
dnf install -y \
akmod-VirtualBox-*.fc"${RELEASE}"."${ARCH}"
akmods --force --kernels "${KERNEL}" --kmod VirtualBox
modinfo /usr/lib/modules/"${KERNEL}"/extra/VirtualBox/{vboxdrv,vboxnetadp,vboxnetflt}.ko.xz > /dev/null \
|| (find /var/cache/akmods/VirtualBox/ -name \*.log -print -exec cat {} \; && exit 1)

View file

@ -1,17 +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/
dnf install -y \
akmod-ayaneo-platform-*.fc"${RELEASE}"."${ARCH}"
akmods --force --kernels "${KERNEL}" --kmod ayaneo-platform
modinfo /usr/lib/modules/"${KERNEL}"/extra/ayaneo-platform/ayaneo-platform.ko.xz > /dev/null \
|| (find /var/cache/akmods/ayaneo-platform/ -name \*.log -print -exec cat {} \; && exit 1)
rm -f /etc/yum.repos.d/_copr_ublue-os-akmods.repo

View file

@ -1,17 +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/
dnf install -y \
akmod-ayn-platform-*.fc"${RELEASE}"."${ARCH}"
akmods --force --kernels "${KERNEL}" --kmod ayn-platform
modinfo /usr/lib/modules/"${KERNEL}"/extra/ayn-platform/ayn-platform.ko.xz > /dev/null \
|| (find /var/cache/akmods/ayn-platform/ -name \*.log -print -exec cat {} \; && exit 1)
rm -f /etc/yum.repos.d/_copr_ublue-os-akmods.repo

View file

@ -1,17 +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/
dnf install -y \
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

View file

@ -1,22 +0,0 @@
#!/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/negativo17-fedora-multimedia.repo /etc/yum.repos.d/
set -e pipefail
### BUILD evdi (succeed or fail-fast with debug output)
export CFLAGS="-fno-pie -no-pie"
dnf install -y \
kmod-evdi*.fc"${RELEASE}.${ARCH}" akmod-evdi-*.fc"${RELEASE}.${ARCH}"
akmods --force --kernels "${KERNEL}" --kmod evdi
modinfo /usr/lib/modules/"${KERNEL}"/extra/evdi/evdi.ko.xz >/dev/null ||
(find /var/cache/akmods/evdi/ -name \*.log -print -exec cat {} \; && exit 1)
rm -f /etc/yum.repos.d/negativo17-fedora-multimedia.repo
unset CFLAGS

View file

@ -1,25 +0,0 @@
#!/usr/bin/bash
set "${CI:+-x}" -euo pipefail
ARCH="$(rpm -E '%_arch')"
KERNEL="$(rpm -q "${KERNEL_NAME:-kernel}" --queryformat '%{VERSION}-%{RELEASE}.%{ARCH}')"
RELEASE="$(rpm -E '%fedora')"
if [[ "${RELEASE}" -ge 43 ]]; then
COPR_RELEASE="rawhide"
else
COPR_RELEASE="${RELEASE}"
fi
curl -LsSf -o /etc/yum.repos.d/_copr_mulderje-facetimehd-kmod.repo \
"https://copr.fedorainfracloud.org/coprs/mulderje/facetimehd-kmod/repo/fedora-${COPR_RELEASE}/mulderje-facetimehd-kmod-fedora-${COPR_RELEASE}.repo"
### BUILD facetimehd (succeed or fail-fast with debug output)
dnf install -y \
akmod-facetimehd-*.fc"${RELEASE}"."${ARCH}"
akmods --force --kernels "${KERNEL}" --kmod facetimehd
modinfo "/usr/lib/modules/${KERNEL}/extra/facetimehd/facetimehd.ko.xz" > /dev/null \
|| (find /var/cache/akmods/facetimehd/ -name \*.log -print -exec cat {} \; && exit 1)
rm -f /etc/yum.repos.d/_copr_mulderje-facetimehd-kmod.repo

View file

@ -1,17 +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/
dnf install -y \
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

View file

@ -1,18 +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 gpd-fan (succeed or fail-fast with debug output)
dnf install -y \
akmod-gpd-fan-*.fc"${RELEASE}"."${ARCH}"
akmods --force --kernels "${KERNEL}" --kmod gpd-fan
modinfo /usr/lib/modules/"${KERNEL}"/extra/gpd-fan/gpd-fan.ko.xz > /dev/null \
|| (find /var/cache/akmods/gpd-fan/ -name \*.log -print -exec cat {} \; && exit 1)
rm -f /etc/yum.repos.d/_copr_ublue-os-akmods.repo

View file

@ -1,18 +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 nct6687d (succeed or fail-fast with debug output)
dnf install -y \
akmod-nct6687d-*.fc"${RELEASE}"."${ARCH}"
akmods --force --kernels "${KERNEL}" --kmod nct6687d
modinfo /usr/lib/modules/"${KERNEL}"/extra/nct6687d/nct6687.ko.xz > /dev/null \
|| (find /var/cache/akmods/nct6687d/ -name \*.log -print -exec cat {} \; && exit 1)
rm -f /etc/yum.repos.d/_copr_ublue-os-akmods.repo

View file

@ -1,17 +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/
dnf install -y \
akmod-rtl8814au-*.fc"${RELEASE}"."${ARCH}"
akmods --force --kernels "${KERNEL}" --kmod rtl8814au
modinfo /usr/lib/modules/"${KERNEL}"/extra/rtl8814au/rtl8814au.ko.xz > /dev/null \
|| (find /var/cache/akmods/rtl8814au/ -name \*.log -print -exec cat {} \; && exit 1)
rm -f /etc/yum.repos.d/_copr_ublue-os-akmods.repo

View file

@ -1,17 +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/
dnf install -y \
akmod-rtl88xxau-*.fc"${RELEASE}"."${ARCH}"
akmods --force --kernels "${KERNEL}" --kmod rtl88xxau
modinfo /usr/lib/modules/"${KERNEL}"/extra/rtl88xxau/88XXau.ko.xz > /dev/null \
|| (find /var/cache/akmods/rtl88xxau/ -name \*.log -print -exec cat {} \; && exit 1)
rm -f /etc/yum.repos.d/_copr_ublue-os-akmods.repo

View file

@ -1,18 +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 ryzen-smu (succeed or fail-fast with debug output)
dnf install -y \
akmod-ryzen-smu-*.fc"${RELEASE}"."${ARCH}"
akmods --force --kernels "${KERNEL}" --kmod ryzen-smu
modinfo /usr/lib/modules/"${KERNEL}"/extra/ryzen-smu/ryzen_smu.ko.xz > /dev/null \
|| (find /var/cache/akmods/ryzen-smu/ -name \*.log -print -exec cat {} \; && exit 1)
rm -f /etc/yum.repos.d/_copr_ublue-os-akmods.repo

View file

@ -1,25 +0,0 @@
#!/usr/bin/bash
set "${CI:+-x}" -euo pipefail
ARCH="$(rpm -E '%_arch')"
KERNEL="$(rpm -q "${KERNEL_NAME:-kernel}" --queryformat '%{VERSION}-%{RELEASE}.%{ARCH}')"
RELEASE="$(rpm -E '%fedora')"
if [[ "${RELEASE}" -ge 41 ]]; then
COPR_RELEASE="rawhide"
else
COPR_RELEASE="${RELEASE}"
fi
curl -LsSf -o /etc/yum.repos.d/_copr_ssweeny-system76-io.repo \
"https://copr.fedorainfracloud.org/coprs/ssweeny/system76-hwe/repo/fedora-${COPR_RELEASE}/ssweeny-system76-hwe-fedora-${COPR_RELEASE}.repo"
### BUILD system76-io (succeed or fail-fast with debug output)
dnf install -y \
"akmod-system76-io-*.fc${RELEASE}.${ARCH}"
akmods --force --kernels "${KERNEL}" --kmod system76-io
modinfo "/usr/lib/modules/${KERNEL}/extra/system76-io/system76-io.ko.xz" >/dev/null ||
(find /var/cache/akmods/system76-io/ -name \*.log -print -exec cat {} \; && exit 1)
rm -f /etc/yum.repos.d/_copr_ssweeny-system76-hwe.repo

View file

@ -1,25 +0,0 @@
#!/usr/bin/bash
set "${CI:+-x}" -euo pipefail
ARCH="$(rpm -E '%_arch')"
KERNEL="$(rpm -q "${KERNEL_NAME:-kernel}" --queryformat '%{VERSION}-%{RELEASE}.%{ARCH}')"
RELEASE="$(rpm -E '%fedora')"
if [[ "${RELEASE}" -ge 41 ]]; then
COPR_RELEASE="rawhide"
else
COPR_RELEASE="${RELEASE}"
fi
curl -LsSf -o /etc/yum.repos.d/_copr_ssweeny-system76-hwe.repo \
"https://copr.fedorainfracloud.org/coprs/ssweeny/system76-hwe/repo/fedora-${COPR_RELEASE}/ssweeny-system76-hwe-fedora-${COPR_RELEASE}.repo"
### BUILD system76-io (succeed or fail-fast with debug output)
dnf install -y \
"akmod-system76-driver*.fc${RELEASE}.${ARCH}"
akmods --force --kernels "${KERNEL}" --kmod system76-driver
modinfo "/usr/lib/modules/${KERNEL}/extra/system76-driver/system76.ko.xz" >/dev/null ||
(find /var/cache/akmods/system76-io/ -name \*.log -print -exec cat {} \; && exit 1)
rm -f /etc/yum.repos.d/_copr_ssweeny-system76-hwe.repo

View file

@ -1,25 +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')"
if [[ "${RELEASE}" -ge 43 ]]; then
COPR_RELEASE="rawhide"
else
COPR_RELEASE="${RELEASE}"
fi
curl -LsSf -o /etc/yum.repos.d/_copr_rok-cdemu.repo "https://copr.fedorainfracloud.org/coprs/rok/cdemu/repo/fedora-${COPR_RELEASE}/rok-cdemu-fedora-${COPR_RELEASE}.repo"
### BUILD vhba (succeed or fail-fast with debug output)
dnf install -y \
akmod-vhba-*.fc"${RELEASE}"."${ARCH}"
akmods --force --kernels "${KERNEL}" --kmod vhba
modinfo /usr/lib/modules/"${KERNEL}"/extra/vhba/vhba.ko.xz > /dev/null \
|| (find /var/cache/akmods/vhba/ -name \*.log -print -exec cat {} \; && exit 1)
rm -f /etc/yum.repos.d/_copr_rok-cdemu.repo

View file

@ -1,17 +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/
dnf install -y \
akmod-zenergy-*.fc"${RELEASE}"."${ARCH}"
akmods --force --kernels "${KERNEL}" --kmod zenergy
modinfo /usr/lib/modules/"${KERNEL}"/extra/zenergy/zenergy.ko.xz > /dev/null \
|| (find /var/cache/akmods/zenergy/ -name \*.log -print -exec cat {} \; && exit 1)
rm -f /etc/yum.repos.d/_copr_ublue-os-akmods.repo

View file

@ -93,26 +93,6 @@ if [[ -n "${RPMFUSION_MIRROR}" && -f /etc/fedora-release ]]; then
sed -i "s%^#baseurl=http://download1.rpmfusion.org%baseurl=${RPMFUSION_MIRROR}%" /etc/yum.repos.d/rpmfusion-*.repo
fi
if [[ -f $(find /tmp/akmods-rpms/kmods/kmod-vhba-*.rpm) ]]; then
curl -LsSf -o /etc/yum.repos.d/_copr_rok-cdemu.repo \
"https://copr.fedorainfracloud.org/coprs/rok/cdemu/repo/fedora-${COPR_RELEASE}/rok-cdemu-fedora-${COPR_RELEASE}.repo"
fi
if [[ -f $(find /tmp/akmods-rpms/kmods/kmod-facetimehd-*.rpm) ]]; then
curl -LsSf -o /etc/yum.repos.d/_copr_mulderje-facetimehd-kmod.repo \
"https://copr.fedorainfracloud.org/coprs/mulderje/facetimehd-kmod/repo/fedora-${COPR_RELEASE}/mulderje-facetimehd-kmod-fedora-${COPR_RELEASE}.repo"
fi
if [[ -f $(find /tmp/akmods-rpms/kmods/kmod-kvmfr-*.rpm) ]]; then
curl -LsSf -o /etc/yum.repos.d/_copr_hikariknight-looking-glass-kvmfr.repo \
"https://copr.fedorainfracloud.org/coprs/hikariknight/looking-glass-kvmfr/repo/fedora-${COPR_RELEASE}/hikariknight-looking-glass-kvmfr-fedora-${COPR_RELEASE}.repo"
fi
if [[ -f $(find /tmp/akmods-rpms/kmods/kmod-system76-io-*.rpm) || -f $(find /tmp/akmods-rpms/kmods/kmod-system76-driver-*.rpm) ]]; then
curl -LsSf -o /etc/yum.repos.d/_copr_ssweeny-system76-hwe.repo \
"https://copr.fedorainfracloud.org/coprs/ssweeny/system76-hwe/repo/fedora-${COPR_RELEASE}/ssweeny-system76-hwe-fedora-${COPR_RELEASE}.repo"
fi
if [[ -f $(find /tmp/akmods-rpms/kmods/kmod-nvidia-*.rpm) ]]; then
curl -Lo /etc/yum.repos.d/negativo17-${NVIDIA_REPO_NAME} \
"https://negativo17.org/repos/${NVIDIA_REPO_NAME}"

View file

@ -25,7 +25,7 @@ fi
dnf -y install --setopt=install_weak_deps=False dracut rpmrebuild sbsigntools
case "$kernel_flavor" in
"bazzite"|"centos"|"coreos"*|"main")
"centos"|"coreos"*|"main")
;;
"centos-kmodsig")
dnf -y install centos-release-kmods-kernel
@ -39,18 +39,7 @@ case "$kernel_flavor" in
;;
esac
if [[ "${kernel_flavor}" == "bazzite" ]]; then
# Using curl for bazzite release
curl -#fLO https://github.com/bazzite-org/kernel-bazzite/releases/download/"$build_tag"/kernel-"$kernel_version".rpm
curl -#fLO https://github.com/bazzite-org/kernel-bazzite/releases/download/"$build_tag"/kernel-core-"$kernel_version".rpm
curl -#fLO https://github.com/bazzite-org/kernel-bazzite/releases/download/"$build_tag"/kernel-modules-"$kernel_version".rpm
curl -#fLO https://github.com/bazzite-org/kernel-bazzite/releases/download/"$build_tag"/kernel-modules-core-"$kernel_version".rpm
curl -#fLO https://github.com/bazzite-org/kernel-bazzite/releases/download/"$build_tag"/kernel-modules-extra-"$kernel_version".rpm
curl -#fLO https://github.com/bazzite-org/kernel-bazzite/releases/download/"$build_tag"/kernel-devel-"$kernel_version".rpm
curl -#fLO https://github.com/bazzite-org/kernel-bazzite/releases/download/"$build_tag"/kernel-devel-matched-"$kernel_version".rpm
curl -#fLO https://github.com/bazzite-org/kernel-bazzite/releases/download/"$build_tag"/kernel-tools-"$kernel_version".rpm
curl -#fLO https://github.com/bazzite-org/kernel-bazzite/releases/download/"$build_tag"/kernel-tools-libs-"$kernel_version".rpm
elif [[ "${kernel_flavor}" == "centos" ]]; then
if [[ "${kernel_flavor}" == "centos" ]]; then
# Using curl instead of dnf download for https links
curl -#fLO https://mirror.stream.centos.org/"$CENTOS_VER"-stream/BaseOS/"$ARCH"/os/Packages/kernel-"$kernel_version".rpm
curl -#fLO https://mirror.stream.centos.org/"$CENTOS_VER"-stream/BaseOS/"$ARCH"/os/Packages/kernel-core-"$kernel_version".rpm

View file

@ -23,10 +23,6 @@ akmods-common: &akmods-common
name: akmods
description: "A caching layer for pre-built akmod RPMs"
akmods-extra: &akmods-extra
name: akmods-extra
description: "A caching layer for extra pre-built akmod RPMs"
akmods-nvidia: &akmods-nvidia
name: akmods-nvidia
description: "A caching layer for the pre-built nvidia akmod RPMs"
@ -115,27 +111,7 @@ images:
centos-kmodsig:
!!merge <<:
- *server-build-group-arm-x86
41:
main:
!!merge <<:
- *desktop-build-group
coreos-stable:
!!merge <<:
- *desktop-build-group
- *server-build-group
coreos-testing:
!!merge <<:
- *desktop-build-group
- *server-build-group
42:
bazzite:
!!merge <<:
- *desktop-build-group
extra:
!!merge <<:
- *akmods-base
- *akmods-extra
- *arch-only-x86
main:
!!merge <<:
- *desktop-build-group
@ -153,14 +129,6 @@ images:
- *server-build-group-arm-x86
43:
bazzite:
!!merge <<:
- *desktop-build-group
extra:
!!merge <<:
- *akmods-base
- *akmods-extra
- *arch-only-x86
main:
!!merge <<:
- *desktop-build-group