1
0
Fork 0

Skip also all-amd64

master
dump_stack() 2023-05-11 22:06:54 +00:00
parent a77d56c26b
commit 2e6ce1e8f9
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC
1 changed files with 5 additions and 1 deletions

View File

@ -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