Skip to content

Commit

Permalink
fix: disable multimedia repos before Nvidia install
Browse files Browse the repository at this point in the history
  • Loading branch information
p5 authored Jan 28, 2025
1 parent 79f3078 commit 36b0ffd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build_files/base/03-install-kernel-akmods.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,13 @@ if [[ "${IMAGE_NAME}" =~ nvidia ]]; then
mv /tmp/rpms/* /tmp/akmods-rpms/

# Install Nvidia RPMs
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/negativo17-fedora-multimedia.repo
curl -Lo /tmp/nvidia-install.sh https://raw.githubusercontent.com/ublue-os/hwe/main/nvidia-install.sh
chmod +x /tmp/nvidia-install.sh
IMAGE_NAME="${BASE_IMAGE_NAME}" RPMFUSION_MIRROR="" /tmp/nvidia-install.sh
rm -f /usr/share/vulkan/icd.d/nouveau_icd.*.json
ln -sf libnvidia-ml.so.1 /usr/lib64/libnvidia-ml.so
sed -i 's@enabled=0@enabled=1@g' /etc/yum.repos.d/negativo17-fedora-multimedia.repo
fi

# ZFS for gts/stable
Expand Down

0 comments on commit 36b0ffd

Please sign in to comment.