get-fedora-latest-config: enable only Fedora repos
This commit is contained in:
parent
f2ddd7a205
commit
b16cc10308
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user