phosphor-buttons : remove phosphor-state-manager dependency
The obmc-phosphor-buttons recipe has direct dependency
of phosphor-state-manager-chassis and phosphor-state-manager-host.
replaced these direct packages with VIRTUAL-RUNTIME_obmc-host-state-manager
and VIRTUAL-RUNTIME_obmc-chassis-state-manager
This is done so that apps that handle host and chassis state
other than phosphor-state-manager such as x86-power-control
can use obmc-phosphor-buttons.
Signed-off-by: Naveen Moses <naveen.mosess@hcl.com>
Change-Id: I593fcb547a55418cad15a9eabc5ddb194c254e7d
diff --git a/meta-phosphor/recipes-phosphor/chassis/obmc-phosphor-buttons_git.bb b/meta-phosphor/recipes-phosphor/chassis/obmc-phosphor-buttons_git.bb
index 4620c5a..e5f72ac 100644
--- a/meta-phosphor/recipes-phosphor/chassis/obmc-phosphor-buttons_git.bb
+++ b/meta-phosphor/recipes-phosphor/chassis/obmc-phosphor-buttons_git.bb
@@ -11,7 +11,7 @@
SRCREV = "4250785723d92b6578176a2d961d47ab66e08124"
PACKAGECONFIG ??= "signals handler"
PACKAGECONFIG[signals] = ",,gpioplus nlohmann-json,"
-PACKAGECONFIG[handler] = ",,,phosphor-state-manager-chassis phosphor-state-manager-host"
+PACKAGECONFIG[handler] = ",,,${VIRTUAL-RUNTIME_obmc-host-state-manager} ${VIRTUAL-RUNTIME_obmc-chassis-state-manager}"
PV = "1.0+git${SRCPV}"
PR = "r1"