Skip to content

Commit

Permalink
get-fedora-latest-config: enable only Fedora repos
Browse files Browse the repository at this point in the history
  • Loading branch information
fepitre committed Mar 31, 2019
1 parent f2ddd7a commit b16cc10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion get-fedora-latest-config
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ elif [ "x$releasever" == "x" ]; then
fi

# get the latest kernel rpm
latestver=$(dnf -q repoquery kernel-core --disablerepo=*modular* --releasever="$releasever" | tail -1 | cut -d ':' -f2)
latestver=$(dnf -q repoquery kernel-core --disablerepo=* --enablerepo=fedora --enablerepo=updates --releasever="$releasever" | tail -1 | cut -d ':' -f2)
latestrpm="kernel-core-$latestver.rpm"

if [ "$releasever" == 'rawhide' ]; then
Expand Down

0 comments on commit b16cc10

Please sign in to comment.