fedora_atomic_custom_image/scripts/nvidia/install.sh
Florian RICHER 42cbb86b11
All checks were successful
build-ublue-custom / Build and push image (push) Successful in 7m43s
NVIDIA: Try move .conf from /etc/modprobe.d to /usr/lib/modprobe.d
2024-10-18 20:17:49 +02:00

15 lines
No EOL
593 B
Bash
Executable file

#!/bin/bash
# RELEASE var is defined in build.sh script
set -ouex pipefail
# Enabling custom repository
rpm-ostree install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$RELEASE.noarch.rpm \
https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$RELEASE.noarch.rpm
rpm-ostree install /tmp/rpms/ublue-os/ublue-os-nvidia*.rpm
rpm-ostree install /tmp/rpms/kmods/kmod-nvidia*.rpm
rpm-ostree install xorg-x11-drv-nvidia-cuda libva-nvidia-driver \
nvidia-vaapi-driver libva-utils vdpauinfo
cp /tmp/scripts/nvidia/modprobe.d/*.conf /usr/lib/modprobe.d/