Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.
/ ucore-kmods Public archive

A caching layer for pre-built CoreOS kmod RPMs

License

Notifications You must be signed in to change notification settings

ublue-os/ucore-kmods

Repository files navigation

build-ublue

ublue-os ucore-kmods

Everything once built here is now built in the ublue consolidated kmod repo: https://github.com/ublue-os/akmods

A layer for adding extra kernel modules to your Fedora CoreOS image.

Features

Feel free to PR more kmod build scripts into this repo!

  • nvidia - latest driver (currently version 535) built from negativo17's akmod package
  • ublue-os-ucore-nvidia - RPM with nvidia container toolkit repo and selinux policy
  • zfs - OpenZFS advanced file system and volume manager (currently pinned to 2.2 release series)

Usage

Add this to your Containerfile to install ZFS RPM packages, replacing RELEASE with either stable or testing:

COPY --from=ghcr.io/ublue-os/ucore-kmods:RELEASE /rpms/ /tmp/rpms
RUN rpm-ostree install /tmp/rpms/kmods/zfs/*.rpm

This example shows:

  1. copying all the rpms from the ucore-kmods image into an image temp directory
  2. installing the normal (not debug/src/devel/other) zfs RPMs which were built in this repo

Note: inspect the build logs or image filesystem to see the extra ZFS RPMS provided.

Adding kmods

TBD

Verification

These images are signed with sisgstore's cosign. You can verify the signature by downloading the cosign.pub key from this repo and running the following command, replacing RELEASE with either 37 or 38:

cosign verify --key cosign.pub ghcr.io/ublue-os/ucore-kmods:RELEASE