From 2dff7f8630e4db75fb6c57e165376e43eca7ba28 Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Sun, 16 Jan 2022 04:42:46 +0100 Subject: [PATCH] bootchart2: Add missing python3-math dependency Without this dependency, generating the bootchart may fail with: " ModuleNotFoundError: No module named 'random' " Signed-off-by: Marek Vasut Cc: Mingli Yu Cc: Richard Purdie Signed-off-by: Richard Purdie (cherry picked from commit 487e9f16a00f895159b79f1865fe8b626b47ddc2) Signed-off-by: Anuj Mittal --- meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb b/meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb index 59fcd8c78a..413c9b9499 100644 --- a/meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb +++ b/meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb @@ -150,7 +150,7 @@ do_install () { PACKAGES =+ "pybootchartgui" FILES:pybootchartgui += "${PYTHON_SITEPACKAGES_DIR}/pybootchartgui ${bindir}/pybootchartgui" -RDEPENDS:pybootchartgui = "python3-pycairo python3-compression python3-image python3-shell python3-compression python3-codecs" +RDEPENDS:pybootchartgui = "python3-pycairo python3-compression python3-image python3-math python3-shell python3-compression python3-codecs" RDEPENDS:${PN}:class-target += "${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'sysvinit-pidof', 'procps', d)}" RDEPENDS:${PN}:class-target += "lsb-release" DEPENDS:append:class-native = " python3-pycairo-native" -- 2.40.1