From: Marek Vasut Date: Sun, 16 Jan 2022 03:42:46 +0000 (+0100) Subject: bootchart2: Add missing python3-math dependency X-Git-Tag: uninative-3.5~242 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=487e9f16a00f895159b79f1865fe8b626b47ddc2;p=openembedded-core.git 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 --- diff --git a/meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb b/meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb index 87f7631ddc..f0349dacf0 100644 --- a/meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb +++ b/meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb @@ -151,7 +151,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"