diff options
author | Marek Vasut <marex@denx.de> | 2022-03-02 00:55:00 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-09 17:30:49 +0000 |
commit | 820be4beeb72e55e3866d22859b6a4d305a8fe59 (patch) | |
tree | 82d1aceebba9703ba2c0903f3a1c81060e22efc2 | |
parent | d6d65d76855c0d6c51f72035fcfa02be282a6789 (diff) | |
download | poky-820be4beeb72e55e3866d22859b6a4d305a8fe59.tar.gz |
bootchart2: Add missing python3-math dependency
Without this dependency, generating the bootchart may fail with:
"
ModuleNotFoundError: No module named 'random'
"
(cherry picked from commit 487e9f16a00f895159b79f1865fe8b626b47ddc2)
(From OE-Core rev: 123d4a673dadfee14d5ad8bbc503405da9602bb0)
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Mingli Yu <mingli.yu@windriver.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb b/meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb index 66bd897a9a..7f05bd1b0b 100644 --- a/meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb +++ b/meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb | |||
@@ -144,7 +144,7 @@ do_install () { | |||
144 | 144 | ||
145 | PACKAGES =+ "pybootchartgui" | 145 | PACKAGES =+ "pybootchartgui" |
146 | FILES_pybootchartgui += "${PYTHON_SITEPACKAGES_DIR}/pybootchartgui ${bindir}/pybootchartgui" | 146 | FILES_pybootchartgui += "${PYTHON_SITEPACKAGES_DIR}/pybootchartgui ${bindir}/pybootchartgui" |
147 | RDEPENDS_pybootchartgui = "python3-pycairo python3-compression python3-image python3-shell python3-compression python3-codecs" | 147 | RDEPENDS_pybootchartgui = "python3-pycairo python3-compression python3-image python3-math python3-shell python3-compression python3-codecs" |
148 | RDEPENDS_${PN}_class-target += "${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'sysvinit-pidof', 'procps', d)}" | 148 | RDEPENDS_${PN}_class-target += "${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'sysvinit-pidof', 'procps', d)}" |
149 | RDEPENDS_${PN}_class-target += "lsb-release" | 149 | RDEPENDS_${PN}_class-target += "lsb-release" |
150 | DEPENDS_append_class-native = " python3-pycairo-native" | 150 | DEPENDS_append_class-native = " python3-pycairo-native" |