1
0

fix: check only distro id

This commit is contained in:
dump_stack() 2023-05-24 21:58:25 +00:00
parent 49760c065e
commit 605871d17a
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -168,7 +168,7 @@ type Artifact struct {
func (ka Artifact) checkSupport(ki distro.KernelInfo, km Target) (
supported bool, err error) {
if !ki.Distro.Equal(km.Distro) {
if ki.Distro.ID != km.Distro.ID {
supported = false
return
}