openpower-occ-control: remove sdbusplus depend in native context
There is no sdbusplus in native context. Since occ-control has a
DEPENDS += "sdbusplus", it ends up getting sdbusplus-native when
built under a native context. sdbusplus-native is a temporary
alias to python-sdbus++-native, for backwards compatiblity with
python2 code, which will be removed soon.
(From meta-openpower rev: 2febb0a8092b410494ae6bd73204f6b9f9c9de14)
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I817a122c87c4949ef4cff4b0f07ba4239ff55576
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/meta-openpower/recipes-phosphor/occ/openpower-occ-control_git.bb b/meta-openpower/recipes-phosphor/occ/openpower-occ-control_git.bb
index 548bdb0..210b5fc 100644
--- a/meta-openpower/recipes-phosphor/occ/openpower-occ-control_git.bb
+++ b/meta-openpower/recipes-phosphor/occ/openpower-occ-control_git.bb
@@ -74,6 +74,7 @@
DEPENDS_remove_class-native = " \
phosphor-logging \
systemd \
+ sdbusplus \
virtual/${PN}-config-native \
"
RDEPENDS_${PN}_remove_class-native += "phosphor-state-manager-obmc-targets"
@@ -82,6 +83,7 @@
DEPENDS_remove_class-nativesdk = " \
phosphor-logging \
systemd \
+ sdbusplus \
virtual/${PN}-config-native \
"
RDEPENDS_${PN}_remove_class-nativesdk += "phosphor-state-manager-obmc-targets"