diff --git a/distro/kernel.go b/distro/kernel.go index c0d8929..08c8275 100644 --- a/distro/kernel.go +++ b/distro/kernel.go @@ -36,4 +36,6 @@ type KernelInfo struct { // Package name, not mandatory (yet) Package string + + Blocklisted bool } diff --git a/pew.go b/pew.go index 51785de..b63181b 100644 --- a/pew.go +++ b/pew.go @@ -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--