summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/intel-ethernet
diff options
context:
space:
mode:
authorCalifornia Sullivan <california.l.sullivan@intel.com>2017-12-18 23:56:25 (GMT)
committerCalifornia Sullivan <california.l.sullivan@intel.com>2017-12-20 19:03:54 (GMT)
commit1580913674bc84c8e6c10cf855dbf38d2ee8f3d2 (patch)
treed9698a426794fae620f44e8ee6e75afcd319387f /recipes-kernel/intel-ethernet
parentf0a462b71ff11089c6449b62cc4b415ae1568897 (diff)
downloadmeta-intel-1580913674bc84c8e6c10cf855dbf38d2ee8f3d2.tar.gz
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>
Diffstat (limited to 'recipes-kernel/intel-ethernet')
-rw-r--r--recipes-kernel/intel-ethernet/ixgbe.bb9
-rw-r--r--recipes-kernel/intel-ethernet/ixgbevf.bb9
2 files changed, 18 insertions, 0 deletions
diff --git a/recipes-kernel/intel-ethernet/ixgbe.bb b/recipes-kernel/intel-ethernet/ixgbe.bb
index 181158d..caa6f42 100644
--- a/recipes-kernel/intel-ethernet/ixgbe.bb
+++ b/recipes-kernel/intel-ethernet/ixgbe.bb
@@ -43,3 +43,12 @@ FILES_${PN}-script += "/etc/network/set_irq_affinity"
43 43
44#Ignore "ERROR: QA Issue: ixgbe: Files/directories were installed but not shipped" 44#Ignore "ERROR: QA Issue: ixgbe: Files/directories were installed but not shipped"
45INSANE_SKIP_${PN} = "installed-vs-shipped" 45INSANE_SKIP_${PN} = "installed-vs-shipped"
46
47# Support for 4.14 not yet available
48python () {
49 if d.getVar("PREFERRED_PROVIDER_virtual/kernel") == "linux-intel" and \
50 d.getVar("PREFERRED_VERSION_linux-intel") == "4.14%" or \
51 d.getVar("PREFERRED_PROVIDER_virtual/kernel") == "linux-intel-rt" and \
52 d.getVar("PREFERRED_VERSION_linux-intel-rt") == "4.14%":
53 raise bb.parse.SkipPackage("out of tree ixgbe not yet available for Linux Kernel 4.14 or newer")
54}
diff --git a/recipes-kernel/intel-ethernet/ixgbevf.bb b/recipes-kernel/intel-ethernet/ixgbevf.bb
index 6a9636e..025ee08 100644
--- a/recipes-kernel/intel-ethernet/ixgbevf.bb
+++ b/recipes-kernel/intel-ethernet/ixgbevf.bb
@@ -44,3 +44,12 @@ FILES_${PN}-script += "/etc/network/set_irq_affinity"
44 44
45#Ignore "ERROR: QA Issue: ixgbe: Files/directories were installed but not shipped" 45#Ignore "ERROR: QA Issue: ixgbe: Files/directories were installed but not shipped"
46INSANE_SKIP_${PN} = "installed-vs-shipped" 46INSANE_SKIP_${PN} = "installed-vs-shipped"
47
48# Support for 4.14 not yet available
49python () {
50 if d.getVar("PREFERRED_PROVIDER_virtual/kernel") == "linux-intel" and \
51 d.getVar("PREFERRED_VERSION_linux-intel") == "4.14%" or \
52 d.getVar("PREFERRED_PROVIDER_virtual/kernel") == "linux-intel-rt" and \
53 d.getVar("PREFERRED_VERSION_linux-intel-rt") == "4.14%":
54 raise bb.parse.SkipPackage("Out of tree ixgbevf not yet available for Linux Kernel 4.14 or newer")
55}