ixgbe*: skip package if using 4.14 kernel

No stable release supports 4.14 or newer yet.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
This commit is contained in:
California Sullivan 2017-12-18 15:56:25 -08:00
parent f0a462b71f
commit 1580913674
2 changed files with 18 additions and 0 deletions

View File

@ -43,3 +43,12 @@ FILES_${PN}-script += "/etc/network/set_irq_affinity"
#Ignore "ERROR: QA Issue: ixgbe: Files/directories were installed but not shipped"
INSANE_SKIP_${PN} = "installed-vs-shipped"
# Support for 4.14 not yet available
python () {
if d.getVar("PREFERRED_PROVIDER_virtual/kernel") == "linux-intel" and \
d.getVar("PREFERRED_VERSION_linux-intel") == "4.14%" or \
d.getVar("PREFERRED_PROVIDER_virtual/kernel") == "linux-intel-rt" and \
d.getVar("PREFERRED_VERSION_linux-intel-rt") == "4.14%":
raise bb.parse.SkipPackage("out of tree ixgbe not yet available for Linux Kernel 4.14 or newer")
}

View File

@ -44,3 +44,12 @@ FILES_${PN}-script += "/etc/network/set_irq_affinity"
#Ignore "ERROR: QA Issue: ixgbe: Files/directories were installed but not shipped"
INSANE_SKIP_${PN} = "installed-vs-shipped"
# Support for 4.14 not yet available
python () {
if d.getVar("PREFERRED_PROVIDER_virtual/kernel") == "linux-intel" and \
d.getVar("PREFERRED_VERSION_linux-intel") == "4.14%" or \
d.getVar("PREFERRED_PROVIDER_virtual/kernel") == "linux-intel-rt" and \
d.getVar("PREFERRED_VERSION_linux-intel-rt") == "4.14%":
raise bb.parse.SkipPackage("Out of tree ixgbevf not yet available for Linux Kernel 4.14 or newer")
}