get-fedora-latest-config: enable only fedora and fedora-updates when downloading the rpm
This commit is contained in:
parent
5a1a029434
commit
a48e051be2
@ -45,7 +45,7 @@ if [ "x$latestrpm" != "x" ] && [ "x$releasever" != "x" ]; then
|
||||
|
||||
tmpdir="$(mktemp -d -p "$localdir")"
|
||||
# download latest kernel rpm
|
||||
dnf -q download kernel-core --disablerepo=*modular* --releasever="$releasever"
|
||||
dnf -q download kernel-core --disablerepo=* --enablerepo=fedora --enablerepo=updates --releasever="$releasever"
|
||||
mv "$latestrpm" "$tmpdir/$latestrpm.untrusted"
|
||||
|
||||
# check signature
|
||||
|
Loading…
Reference in New Issue
Block a user