commit | 89d17815d5fd3a5247479feb01682c741698a8b5 | [log] [tgz] |
---|---|---|
author | Andrew Geissler <geissonator@yahoo.com> | Thu Mar 05 09:27:35 2020 -0600 |
committer | Andrew Geissler <geissonator@yahoo.com> | Thu Mar 12 20:18:58 2020 +0000 |
tree | c98cc9a0d9954c6d9d1b62dc398cc48b6cd0256a | |
parent | f614b0ae92ff2e02fc6e23564dee304f2fc272fd [diff] |
phosphor-inventory-manager: fix missing python dep 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. Change-Id: Ie90b142dfe45c3c4675021807bcee49a04f6335c Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/recipes-phosphor/inventory/phosphor-inventory-manager_git.bb b/recipes-phosphor/inventory/phosphor-inventory-manager_git.bb index 520cdcc..9b5530b 100644 --- a/recipes-phosphor/inventory/phosphor-inventory-manager_git.bb +++ b/recipes-phosphor/inventory/phosphor-inventory-manager_git.bb
@@ -23,6 +23,9 @@ sdbusplus-native \ autoconf-archive-native \ libcereal \ + ${PYTHON_PN}-native \ + ${PYTHON_PN}-pyyaml-native \ + ${PYTHON_PN}-mako-native \ " OBMC_INVENTORY_PATH="${OBMC_DBUS_PATH_ROOT}/inventory"