From 9748a26cd4ddd7e2947e64b6e88e3bcc660e60a7 Mon Sep 17 00:00:00 2001 From: Nell Jerram Date: Wed, 17 Jul 2024 22:38:45 +0100 Subject: [PATCH] Add "k/" to URL for Fedora updates (#119) IIUC, this was accidentally lost in https://github.com/aquasecurity/btfhub/commit/c22ad47e3432e22ed4052b220b12651ab0137433, and caused the BTF for 5.8.18-100.fc31.x86_64.btf to be removed from the archive. --- pkg/repo/fedora.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/repo/fedora.go b/pkg/repo/fedora.go index bb443101..31614d58 100644 --- a/pkg/repo/fedora.go +++ b/pkg/repo/fedora.go @@ -32,7 +32,7 @@ var oldRepoOrganization = []string{ var repoOrganization = []string{ "https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/%s/Everything/%s/debug/tree/Packages/k/", - "https://archives.fedoraproject.org/pub/archive/fedora/linux/updates/%s/Everything/%s/debug/Packages/", + "https://archives.fedoraproject.org/pub/archive/fedora/linux/updates/%s/Everything/%s/debug/Packages/k/", } func NewFedoraRepo() Repository {