diff --git a/pkg/driverbuilder/builder/ubuntu_test.go b/pkg/driverbuilder/builder/ubuntu_test.go index a9484d20..86e2e989 100644 --- a/pkg/driverbuilder/builder/ubuntu_test.go +++ b/pkg/driverbuilder/builder/ubuntu_test.go @@ -153,11 +153,11 @@ var tests = []struct { Minor: 5, Patch: 0, }, - Extraversion: "5", - FullExtraversion: "-5", + Extraversion: "9", + FullExtraversion: "-9", Architecture: kernelrelease.ArchitectureAmd64, }, - kernelversion: "5", + kernelversion: "9", expected: struct { headersURLs []string urls []string @@ -167,31 +167,31 @@ var tests = []struct { err error }{ headersURLs: []string{ - "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux/linux-headers-6.5.0-5-generic_6.5.0-5.5_amd64.deb", - "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux/linux-headers-6.5.0-5_6.5.0-5.5_all.deb", + "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux/linux-headers-6.5.0-9-generic_6.5.0-9.9_amd64.deb", + "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux/linux-headers-6.5.0-9_6.5.0-9.9_all.deb", }, urls: []string{ - "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux/linux-headers-6.5.0-5_6.5.0-5.5_amd64_all.deb", - "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux/linux-headers-6.5.0-5-generic_6.5.0-5.5_amd64.deb", - "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux/linux-generic-headers-6.5.0-5_6.5.0-5.5_all.deb", - "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux/linux-headers-6.5.0-5_6.5.0-5.5_amd64.deb", - "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux/linux-headers-6.5.0-5_6.5.0-5.5_all.deb", - "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux-generic/linux-headers-6.5.0-5_6.5.0-5.5_amd64_all.deb", - "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux-generic/linux-headers-6.5.0-5-generic_6.5.0-5.5_amd64.deb", - "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux-generic/linux-generic-headers-6.5.0-5_6.5.0-5.5_all.deb", - "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux-generic/linux-headers-6.5.0-5_6.5.0-5.5_amd64.deb", - "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux-generic/linux-headers-6.5.0-5_6.5.0-5.5_all.deb", - "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux-generic-6.5/linux-headers-6.5.0-5_6.5.0-5.5_amd64_all.deb", - "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux-generic-6.5/linux-headers-6.5.0-5-generic_6.5.0-5.5_amd64.deb", - "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux-generic-6.5/linux-generic-headers-6.5.0-5_6.5.0-5.5_all.deb", - "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux-generic-6.5/linux-headers-6.5.0-5_6.5.0-5.5_amd64.deb", - "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux-generic-6.5/linux-headers-6.5.0-5_6.5.0-5.5_all.deb", + "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux/linux-headers-6.5.0-9_6.5.0-9.9_amd64_all.deb", + "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux/linux-headers-6.5.0-9-generic_6.5.0-9.9_amd64.deb", + "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux/linux-generic-headers-6.5.0-9_6.5.0-9.9_all.deb", + "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux/linux-headers-6.5.0-9_6.5.0-9.9_amd64.deb", + "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux/linux-headers-6.5.0-9_6.5.0-9.9_all.deb", + "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux-generic/linux-headers-6.5.0-9_6.5.0-9.9_amd64_all.deb", + "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux-generic/linux-headers-6.5.0-9-generic_6.5.0-9.9_amd64.deb", + "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux-generic/linux-generic-headers-6.5.0-9_6.5.0-9.9_all.deb", + "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux-generic/linux-headers-6.5.0-9_6.5.0-9.9_amd64.deb", + "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux-generic/linux-headers-6.5.0-9_6.5.0-9.9_all.deb", + "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux-generic-6.5/linux-headers-6.5.0-9_6.5.0-9.9_amd64_all.deb", + "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux-generic-6.5/linux-headers-6.5.0-9-generic_6.5.0-9.9_amd64.deb", + "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux-generic-6.5/linux-generic-headers-6.5.0-9_6.5.0-9.9_all.deb", + "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux-generic-6.5/linux-headers-6.5.0-9_6.5.0-9.9_amd64.deb", + "https://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux-generic-6.5/linux-headers-6.5.0-9_6.5.0-9.9_all.deb", }, gccVersion: semver.Version{ Major: 6, Minor: 3, }, - firstExtra: "5", + firstExtra: "9", flavor: "generic", err: nil, },