From 2e6ce1e8f9ddc986141e797027d71a9b256fa19f Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Thu, 11 May 2023 22:06:54 +0000 Subject: [PATCH] Skip also all-amd64 --- distro/debian/kernel.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/distro/debian/kernel.go b/distro/debian/kernel.go index 49db090..4bbe45d 100644 --- a/distro/debian/kernel.go +++ b/distro/debian/kernel.go @@ -45,7 +45,11 @@ func GetDebianKernel(version string) (dk DebianKernel, err error) { var packages []snapshot.Package for _, p := range pkgs { skip := false - for _, s := range []string{"rt-amd64", "cloud-amd64"} { + for _, s := range []string{ + "rt-amd64", + "cloud-amd64", + "all-amd64", + } { if strings.Contains(p.Name, s) { skip = true break