diff --git a/distro/debian/kernel.go b/distro/debian/kernel.go index ebc3802..9835b46 100644 --- a/distro/debian/kernel.go +++ b/distro/debian/kernel.go @@ -34,7 +34,7 @@ var ( func GetDebianKernel(version string) (dk DebianKernel, err error) { dk.Version.Package = version - regex := `^linux-(image|headers)-[bpo0-9\.\-]*-(amd64|amd64-unsigned)$` + regex := `^linux-(image|headers)-[bporcexp~0-9\.\-]*-(amd64|amd64-unsigned)$` packages, err := snapshot.Packages("linux", version, "amd64", regex) if err != nil {