gbmcweb: Enable tlBMC Sensor Override feature on dev images Enable flag on dev built images only to allow creation of tlBMC Sensor Overrides. This feature allows for PATCH commands to be issued on any tlBMC managed sensor to override the value presented by store for error injection in test. By default on prod images this feature will not be enabled. The feature can be enabled on images if the bmcweb binary is run with the flag `--enable_tlbmc_sensor_override=true` Google-Bug-Id: 550410302 Tested: https://paste.googleplex.com/5054605210288128 Fusion-Link: platform5: https://fusion2.corp.google.com/07fa657f-c25b-3347-a7e7-e6bb13f4f83a platform15: https://fusion2.corp.google.com/d7bb041c-d1ee-302a-9ea1-ca63460788b4 platform18: https://fusion2.corp.google.com/a6d1b3d7-e62a-3ae9-ae19-05ad0c063ac1 platform17: https://fusion2.corp.google.com/88eb42a0-bbd7-3ec3-94db-942241c0223e platform11+ext: https://fusion2.corp.google.com/514afb47-47a3-3046-aeb3-2dd3a00c9bd0 platform11: https://fusion2.corp.google.com/8ee7897f-1ba9-3781-8f01-8b1d86147cef platform25: https://fusion2.corp.google.com/a50ac1d2-d70c-3b94-a406-e15e04cd4d0e Change-Id: Ie4169ac37189811198424561cab68d726b7552a8 Signed-off-by: David Tang <davtang@google.com>
diff --git a/recipes-phosphor/interfaces/bmcweb_%.bbappend b/recipes-phosphor/interfaces/bmcweb_%.bbappend index ac4a718..8a47669 100644 --- a/recipes-phosphor/interfaces/bmcweb_%.bbappend +++ b/recipes-phosphor/interfaces/bmcweb_%.bbappend
@@ -181,3 +181,6 @@ PACKAGECONFIG:remove:gbmc = "mutual-tls-auth" + +# Enable tlBMC sensor override automatically for all dev builds. +EXTRA_OEMESON:append:dev = " -Dtlbmc-sensor-override=enabled"