summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2022-03-02 00:55:00 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-03-09 17:30:49 +0000
commit820be4beeb72e55e3866d22859b6a4d305a8fe59 (patch)
tree82d1aceebba9703ba2c0903f3a1c81060e22efc2
parentd6d65d76855c0d6c51f72035fcfa02be282a6789 (diff)
downloadpoky-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.bb2
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
145PACKAGES =+ "pybootchartgui" 145PACKAGES =+ "pybootchartgui"
146FILES_pybootchartgui += "${PYTHON_SITEPACKAGES_DIR}/pybootchartgui ${bindir}/pybootchartgui" 146FILES_pybootchartgui += "${PYTHON_SITEPACKAGES_DIR}/pybootchartgui ${bindir}/pybootchartgui"
147RDEPENDS_pybootchartgui = "python3-pycairo python3-compression python3-image python3-shell python3-compression python3-codecs" 147RDEPENDS_pybootchartgui = "python3-pycairo python3-compression python3-image python3-math python3-shell python3-compression python3-codecs"
148RDEPENDS_${PN}_class-target += "${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'sysvinit-pidof', 'procps', d)}" 148RDEPENDS_${PN}_class-target += "${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'sysvinit-pidof', 'procps', d)}"
149RDEPENDS_${PN}_class-target += "lsb-release" 149RDEPENDS_${PN}_class-target += "lsb-release"
150DEPENDS_append_class-native = " python3-pycairo-native" 150DEPENDS_append_class-native = " python3-pycairo-native"