summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Spinler <spinler@us.ibm.com>2024-05-02 22:25:16 +0300
committerMatt Spinler <spinler@us.ibm.com>2024-05-14 18:05:22 +0300
commit71475f31830f861b8b20dc0a9320723c4b5019fd (patch)
tree7b6822984a3263ea521a297f130155adace0ece0
parentbf9ec49b51977025b94633f10225dd2e34b1d311 (diff)
downloadopenbmc-71475f31830f861b8b20dc0a9320723c4b5019fd.tar.xz
entity-manager: Skip schema validation
Tell entity-manager to skip doing schema validation during the build as the python3-jsonschema dependency now brings in rust which takes a long time to build. The 'validate-json' packageconfig can be added in a bbappend to turn it back on for a particular system. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I4321c4c0c41744582c69730fe997439daec17a93
-rw-r--r--meta-phosphor/recipes-phosphor/configuration/entity-manager_git.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-phosphor/recipes-phosphor/configuration/entity-manager_git.bb b/meta-phosphor/recipes-phosphor/configuration/entity-manager_git.bb
index d71e058249..b2f10b693b 100644
--- a/meta-phosphor/recipes-phosphor/configuration/entity-manager_git.bb
+++ b/meta-phosphor/recipes-phosphor/configuration/entity-manager_git.bb
@@ -8,11 +8,13 @@ DEPENDS = "boost \
nlohmann-json \
sdbusplus \
valijson \
- ${PYTHON_PN}-jsonschema-native \
"
SRCREV = "f5ac7400786404f9516a9dbb76a4dfe9ce0ff988"
PACKAGECONFIG ??= "ipmi-fru"
PACKAGECONFIG[ipmi-fru] = "-Dfru-device=true, -Dfru-device=false, i2c-tools,"
+PACKAGECONFIG[validate-json] = "-Dvalidate-json=true, \
+ -Dvalidate-json=false, \
+ ${PYTHON_PN}-jsonschema-native"
PV = "0.1+git${SRCPV}"
SRC_URI = "git://github.com/openbmc/entity-manager.git;branch=master;protocol=https \