openpower-occ-control: Fix missing depends
The repo runs python to generate code or validate config, which requires
python and the dependent python packages. Previously that happens to be
satisfied by sdbusplus's RDEPENDS. If sdbusplus is changed to use
python3, this repo fails to built because it lacks the dependency.
See details in
https://lists.ozlabs.org/pipermail/openbmc/2020-February/020771.html
This commit fixes the depends by adding the required python and python
packages so that it builds fine.
(From meta-openpower rev: 344718b8b4dda75d47f89e72fb9b1372039ec6eb)
Signed-off-by: Eddie James <eajames@linux.ibm.com>
Change-Id: Ib744c2da0d42a12180c345a11086cba738880b42
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 cc0b56c..b76894d 100644
--- a/meta-openpower/recipes-phosphor/occ/openpower-occ-control_git.bb
+++ b/meta-openpower/recipes-phosphor/occ/openpower-occ-control_git.bb
@@ -31,6 +31,10 @@
phosphor-dbus-interfaces \
autoconf-archive-native \
systemd \
+ ${PYTHON_PN}-native \
+ ${PYTHON_PN}-pyyaml-native \
+ ${PYTHON_PN}-setuptools-native \
+ ${PYTHON_PN}-mako-native \
"
RDEPENDS_${PN} += "phosphor-state-manager-obmc-targets"