1
0
Fork 0

feat: add support for blocklisting kernels

timestamps
dump_stack() 2023-06-02 09:52:07 +00:00
parent 482378abaf
commit 79037d61ec
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC
2 changed files with 8 additions and 0 deletions

View File

@ -36,4 +36,6 @@ type KernelInfo struct {
// Package name, not mandatory (yet)
Package string
Blocklisted bool
}

6
pew.go
View File

@ -887,6 +887,12 @@ func (cmd PewCmd) performCI(ka config.Artifact) (err error) {
return
}
if kernel.Blocklisted {
log.Debug().Str("kernel", kernel.KernelVersion).
Msgf("skip (blocklisted)")
continue
}
if supported {
found = true
max--