From 3e645393fba40c0c05a1baa24e227db2495221f3 Mon Sep 17 00:00:00 2001 From: Lei YU Date: Thu, 5 Mar 2020 13:39:10 +0800 Subject: phosphor-power: Fix the 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 of 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. Tested: Verify phosphor-power builds fine with sdbusplus updates to python3. (From meta-phosphor rev: b16b3060288f016a68fa780d791d01b625128ff4) Signed-off-by: Lei YU Change-Id: I93ee5afadb01fce42f2dc91edd274278b026eadb Signed-off-by: Andrew Geissler --- meta-phosphor/recipes-phosphor/power/phosphor-power_git.bb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta-phosphor') diff --git a/meta-phosphor/recipes-phosphor/power/phosphor-power_git.bb b/meta-phosphor/recipes-phosphor/power/phosphor-power_git.bb index e24c6a6000..0a9c709d99 100644 --- a/meta-phosphor/recipes-phosphor/power/phosphor-power_git.bb +++ b/meta-phosphor/recipes-phosphor/power/phosphor-power_git.bb @@ -37,6 +37,10 @@ DEPENDS += " \ nlohmann-json \ cli11 \ i2c-tools \ + ${PYTHON_PN}-native \ + ${PYTHON_PN}-pyyaml-native \ + ${PYTHON_PN}-setuptools-native \ + ${PYTHON_PN}-mako-native \ " SEQ_MONITOR_SVC = "pseq-monitor.service" -- cgit v1.2.3