1
0

Skip also all-amd64

This commit is contained in:
dump_stack() 2023-05-11 22:06:54 +00:00
parent a77d56c26b
commit 2e6ce1e8f9
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -45,7 +45,11 @@ func GetDebianKernel(version string) (dk DebianKernel, err error) {
var packages []snapshot.Package var packages []snapshot.Package
for _, p := range pkgs { for _, p := range pkgs {
skip := false 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) { if strings.Contains(p.Name, s) {
skip = true skip = true
break break