1
0

fix: match the "all" arch of the debian kernel packages

This commit is contained in:
dump_stack() 2023-05-14 11:40:36 +00:00
parent fa23cdfc54
commit 0fd9d80940
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -51,8 +51,8 @@ func GetDebianKernel(version string) (dk DebianKernel, err error) {
"all-amd64", "all-amd64",
} }
packages, err := snapshot.Packages("linux", version, "amd64", packages, err := snapshot.Packages("linux", version, regex,
regex, filter) []string{"amd64", "all"}, filter)
if err != nil { if err != nil {
return return
} }