There are additional packaging options.
Akmods RPM Sub-Package as Alternative to DKMS
Red Hat Akmods is a system which, like DKMS, builds kernel modules on-demand. Unlike
DKMS, it is integrated into the Red Hat ecosystem. It uses rpmbuild
to build onload-kmod-$(uname -r) RPMs which it installs with
yum/dnf. It only builds for kernel versions
which are missing the /lib/modules/*/extra/onload/ (package
name) directory. As with the dkms RPM, the akmods
RPM is available in EPEL. To use:
rpmbuild -tb --without kmod --without dkms onload-*.tgz
yum install -y onload-user onload-akmod
/usr/sbin/akmods # Optionally, build immediately
Optional Sub-Packages
When building RPM or DEB packages, all sub-packages are built by default. It is now possible to choose outputs. For example, to build only userland and DKMS sub-package:
- From an
RPM:
rpmbuild -tb --without kmod --without akmod onload-*.tgz - From a DEB:
debuild -i -uc -us --build-profiles=pkg.onload.nosource