Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions build_files/base/03-install-kernel-akmods.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,18 @@ if [[ "${IMAGE_NAME}" =~ nvidia ]]; then
tar -xvzf /tmp/akmods-rpms/"$NVIDIA_TARGZ" -C /tmp/
mv /tmp/rpms/* /tmp/akmods-rpms/

# Install nvidia-container-toolkit separately to workaround
# https://github.com/NVIDIA/nvidia-container-toolkit/issues/1307
#
# Should be reverted when the RPM is created with a modern OS
case "$FEDORA_MAJOR_VERSION" in
43)
echo "%_pkgverify_level none" > /etc/rpm/macros.verify
dnf5 install -y nvidia-container-toolkit
rm /etc/rpm/macros.verify
;;
esac

# Exclude the Golang Nvidia Container Toolkit in Fedora Repo
# Exclude for non-beta.... doesn't appear to exist for F42 yet?
if [[ "${UBLUE_IMAGE_TAG}" != "beta" ]]; then
Expand Down