1
0
Fork 0

Match bpo only

master
dump_stack() 2023-05-11 20:52:33 +00:00
parent e123bf258c
commit da9a243ee4
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ var (
func GetDebianKernel(version string) (dk DebianKernel, err error) {
dk.Version.Package = version
regex := `^linux-(image|headers)-[a-z0-9\.\-]*-(amd64|amd64-unsigned)$`
regex := `^linux-(image|headers)-[bpo0-9\.\-]*-(amd64|amd64-unsigned)$`
packages, err := snapshot.Packages("linux", version, "amd64", regex)
if err != nil {