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
diff --git a/meta-phosphor/recipes-phosphor/configuration/entity-manager_git.bb b/meta-phosphor/recipes-phosphor/configuration/entity-manager_git.bb
index d71e058..b2f10b6 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 @@
            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 \