Skip to content

Commit

Permalink
don't use versionlock
Browse files Browse the repository at this point in the history
  • Loading branch information
m2Giles committed Mar 1, 2025
1 parent e59fd75 commit 0de80f9
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions nvidia-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,28 +50,28 @@ else
VARIANT_PKGS=""
fi

VERSIONLOCK=(
libheif
libva
libva-intel-media-driver
mesa-dri-drivers
mesa-filesystem
mesa-libEGL
mesa-libGL
mesa-libgbm
mesa-libxatracker
mesa-va-drivers
mesa-vulkan-drivers
)

if [[ "$(rpm -E %fedora)" -lt 41 ]]; then
VERSIONLOCK+=(
mesa-libglapi
libvdpau
)
fi

dnf5 versionlock add "${VERSIONLOCK[@]}"
# VERSIONLOCK=(
# libheif
# libva
# libva-intel-media-driver
# mesa-dri-drivers
# mesa-filesystem
# mesa-libEGL
# mesa-libGL
# mesa-libgbm
# mesa-libxatracker
# mesa-va-drivers
# mesa-vulkan-drivers
# )

# if [[ "$(rpm -E %fedora)" -lt 41 ]]; then
# VERSIONLOCK+=(
# mesa-libglapi
# libvdpau
# )
# fi

# dnf5 versionlock add "${VERSIONLOCK[@]}"

dnf5 install -y \
libnvidia-fbc \
Expand Down Expand Up @@ -113,7 +113,7 @@ if [[ "${IMAGE_NAME}" == "sericea" ]]; then
fi

# Disable VersionLock
dnf5 versionlock delete "${VERSIONLOCK[@]}"
# dnf5 versionlock delete "${VERSIONLOCK[@]}"

# re-enable negativo17-mutlimedia since we disabled it
if [[ "${NEGATIVO17_MULT_PREV_ENABLED}" = "Y" ]]; then
Expand Down

0 comments on commit 0de80f9

Please sign in to comment.