ipmi: fix up package dependencies
hardware providers recommend host-ipmid
host-ipmid recommends plugins
plugins don't recommend anything
Change-Id: Ia10c1b1d2380dae2b5e326109e3f20779724cba8
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meta-phosphor/common/recipes-phosphor/host-ipmid/btbridged.bb b/meta-phosphor/common/recipes-phosphor/host-ipmid/btbridged.bb
index 5bc8fbd..56d9391 100644
--- a/meta-phosphor/common/recipes-phosphor/host-ipmid/btbridged.bb
+++ b/meta-phosphor/common/recipes-phosphor/host-ipmid/btbridged.bb
@@ -9,6 +9,7 @@
PROVIDES += "virtual/obmc-host-ipmi-hw"
RPROVIDES_${PN} += "virtual-obmc-host-ipmi-hw"
+RRECOMMENDS_${PN} += "host-ipmid"
DEPENDS += "systemd"
RDEPENDS_${PN} += "libsystemd"
diff --git a/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmi-hw-example.bb b/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmi-hw-example.bb
index 0698372..680f738 100644
--- a/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmi-hw-example.bb
+++ b/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmi-hw-example.bb
@@ -3,6 +3,7 @@
PR = "r1"
RDEPENDS_${PN} += "python-subprocess python-dbus python-pygobject"
+RRECOMMENDS_${PN} += "host-ipmid"
inherit skeleton-python
diff --git a/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid-fru.bb b/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid-fru.bb
index 533d7ed..8051060 100644
--- a/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid-fru.bb
+++ b/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid-fru.bb
@@ -3,8 +3,6 @@
HOMEPAGE = "https://github.com/openbmc/ipmi-fru-parser"
PR = "r1"
-RRECOMMENDS_${PN} = "virtual-obmc-host-ipmi-hw"
-
inherit obmc-phosphor-license
inherit obmc-phosphor-systemd
diff --git a/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid-oem.bb b/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid-oem.bb
index 7c315a8..87eb141 100644
--- a/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid-oem.bb
+++ b/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid-oem.bb
@@ -3,8 +3,6 @@
HOMEPAGE = "https://github.com/openbmc/openpower-host-ipmi-oem"
PR = "r1"
-RRECOMMENDS_${PN} = "virtual-obmc-host-ipmi-hw"
-
inherit obmc-phosphor-license
DEPENDS += "systemd \
diff --git a/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid-tool.bb b/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid-tool.bb
index 2b397aa..6fa5c28 100644
--- a/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid-tool.bb
+++ b/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid-tool.bb
@@ -4,8 +4,6 @@
PR = "r1"
-RRECOMMENDS_${PN} = "virtual-obmc-host-ipmi-hw"
-
inherit obmc-phosphor-license
DEPENDS += "systemd \
@@ -14,6 +12,7 @@
RDEPENDS_${PN} += "libsystemd \
libcrypto \
+ virtual-obmc-host-ipmi-hw \
"
diff --git a/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid.bb b/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid.bb
index f71f79a..3b3d615 100644
--- a/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid.bb
+++ b/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid.bb
@@ -3,8 +3,6 @@
HOMEPAGE = "http://github.com/openbmc/phosphor-host-ipmid"
PR = "r1"
-RRECOMMENDS_${PN} += "virtual-obmc-host-ipmi-hw"
-
RRECOMMENDS_${PN} += "packagegroup-obmc-ipmid-providers-libs"
inherit autotools pkgconfig