telemetry: Add nlohmann-json and gtest to dependencies
Disable building test in yocto env to relaxe Yocto build process.
Tested:
- Builded romulus image with telemetry service
Change-Id: I08a4de785277471546164b6ac26dc02d8d26edd8
Signed-off-by: Wludzik, Jozef <jozef.wludzik@intel.com>
diff --git a/recipes-phosphor/telemetry/telemetry_git.bb b/recipes-phosphor/telemetry/telemetry_git.bb
index 9b21a65..109a675 100644
--- a/recipes-phosphor/telemetry/telemetry_git.bb
+++ b/recipes-phosphor/telemetry/telemetry_git.bb
@@ -8,7 +8,7 @@
SRC_URI = "git://github.com/openbmc/telemetry"
PV = "1.0+git${SRCPV}"
-SRCREV = "73da69064f48aa99d1e4e9a6d9fff4701ed3dea9"
+SRCREV = "a4bf740ce50ed1d714cc40083c0dd73a81d683ef"
S = "${WORKDIR}/git"
@@ -16,8 +16,12 @@
inherit systemd
DEPENDS = "boost \
+ gtest \
+ nlohmann-json \
phosphor-logging \
sdbusplus \
systemd"
SYSTEMD_SERVICE_${PN} = "xyz.openbmc_project.Telemetry.service"
+EXTRA_OEMESON = "-Dbuildtest=false"
+