Skip to content

Commit

Permalink
fix: add linrunner repo for testing tp_smapi
Browse files Browse the repository at this point in the history
Signed-off-by: John Schmidt <[email protected]>
  • Loading branch information
p4p4j0hn committed Dec 29, 2024
1 parent a476589 commit 1eceda4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test-prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,13 @@ if [[ -f $(find /tmp/akmods-rpms/kmods/kmod-nvidia-*.rpm) ]]; then
sed -i "s@gpgcheck=0@gpgcheck=1@" /etc/yum.repos.d/nvidia-container-toolkit.repo
fi

if [[ -f $(find /tmp/akmods-rpms/kmods/kmod-tp_smapi.rpm) ]]; then
dnf install -y https://repo.linrunner.de/fedora/tlp/repos/releases/tlp-release.fc$(rpm -E %fedora).noarch.rpm
if [[ "${RELEASE}" = 41 ]]; then
dnf config-manager --set-enabled=tlp-updates-testing
fi
fi

dnf install -y \
"${RPMFUSION_MIRROR_RPMS}"/free/fedora/rpmfusion-free-release-"${RELEASE}".noarch.rpm \
"${RPMFUSION_MIRROR_RPMS}"/nonfree/fedora/rpmfusion-nonfree-release-"${RELEASE}".noarch.rpm \
Expand Down

0 comments on commit 1eceda4

Please sign in to comment.