summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta-phosphor/classes/obmc-phosphor-image.bbclass4
-rw-r--r--meta-phosphor/conf/distro/openbmc-phosphor.conf7
2 files changed, 11 insertions, 0 deletions
diff --git a/meta-phosphor/classes/obmc-phosphor-image.bbclass b/meta-phosphor/classes/obmc-phosphor-image.bbclass
index e769356d9..72ef9b155 100644
--- a/meta-phosphor/classes/obmc-phosphor-image.bbclass
+++ b/meta-phosphor/classes/obmc-phosphor-image.bbclass
@@ -24,6 +24,10 @@ inherit core-image
inherit obmc-phosphor-license
inherit obmc-phosphor-utils
+# TODO: openbmc/openbmc#1407 - Remove with RHEL6 support deprecation.
+# Set supported kernel back to RHEL6.4's kernel.
+SDK_OLDEST_KERNEL = "2.6.32"
+
FEATURE_PACKAGES_obmc-bmc-state-mgmt ?= "packagegroup-obmc-apps-bmc-state-mgmt"
FEATURE_PACKAGES_obmc-chassis-mgmt ?= "${@cf_enabled(d, 'obmc-phosphor-chassis-mgmt', 'virtual-obmc-chassis-mgmt')}"
FEATURE_PACKAGES_obmc-chassis-state-mgmt ?= "packagegroup-obmc-apps-chassis-state-mgmt"
diff --git a/meta-phosphor/conf/distro/openbmc-phosphor.conf b/meta-phosphor/conf/distro/openbmc-phosphor.conf
index 11b816558..fa488e59d 100644
--- a/meta-phosphor/conf/distro/openbmc-phosphor.conf
+++ b/meta-phosphor/conf/distro/openbmc-phosphor.conf
@@ -49,3 +49,10 @@ PREFERRED_VERSION_python-pygobject = "2.%"
INHERIT_append = " obmc-phosphor-utils"
include conf/distro/include/openbmc-phosphor/${MACHINE}.inc
+
+# TODO: openbmc/openbmc#1407 - Remove with RHEL6 support deprecation.
+# RHEL6.4's kernel is too old to use the uninative-shim due to missing
+# syscall support. Disable uninative and set OLDEST_KERNEL back to
+# the version in RHEL6.4.
+INHERIT_remove = " uninative"
+OLDEST_KERNEL = "2.6.32"