From a48e051be2225fd748ba493795701c63b7f94c49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Pierret=20=28fepitre=29?= Date: Sat, 20 Apr 2019 17:12:07 +0200 Subject: [PATCH] get-fedora-latest-config: enable only fedora and fedora-updates when downloading the rpm --- get-fedora-latest-config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/get-fedora-latest-config b/get-fedora-latest-config index 3473715..62c82b2 100755 --- a/get-fedora-latest-config +++ b/get-fedora-latest-config @@ -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