This will match other deviation subtask of the same main task,
a couple of them can be found on oe-core layer:
 do_compile_kernelmodules
 do_compile_ptest
 native_add_do_populate_sysroot_deps
 do_package_qa
 cmake_do_configure
 setuptools3_do_configure
 cargo_common_do_configure
 python_pyo3_do_configure
 python_setuptools3_rust_do_configure

Signed-off-by: Jose Quaresma <jose.quare...@foundries.io>
---
 scripts/pybootchartgui/pybootchartgui/draw.py | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/scripts/pybootchartgui/pybootchartgui/draw.py 
b/scripts/pybootchartgui/pybootchartgui/draw.py
index 3d1ff695c1..2beb3c7c67 100644
--- a/scripts/pybootchartgui/pybootchartgui/draw.py
+++ b/scripts/pybootchartgui/pybootchartgui/draw.py
@@ -661,20 +661,20 @@ def render_processes_chart(ctx, options, trace, curr_y, 
width, h, sec_w):
 
             #print("proc at %s %s %s %s" % (x, y, w, proc_h))
             col = None
-            if task == "do_compile":
+            if "_setscene" in task:
+                col = WHITE
+            elif "do_compile" in task:
                 col = TASK_COLOR_COMPILE
-            elif task == "do_configure":
+            elif "do_configure" in task:
                 col = TASK_COLOR_CONFIGURE
-            elif task == "do_install":
+            elif "do_install" in task:
                 col = TASK_COLOR_INSTALL
-            elif task == "do_populate_sysroot":
+            elif "do_populate_sysroot" in task:
                 col = TASK_COLOR_SYSROOT
-            elif task == "do_package":
-                col = TASK_COLOR_PACKAGE
-            elif task == "do_package_write_rpm" or \
-                     task == "do_package_write_deb" or \
-                     task == "do_package_write_ipk":
+            elif "do_package_write" in task:
                 col = TASK_COLOR_PACKAGE_WRITE
+            elif "do_package" in task:
+                col = TASK_COLOR_PACKAGE
             else:
                 col = WHITE
 
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186862): 
https://lists.openembedded.org/g/openembedded-core/message/186862
Mute This Topic: https://lists.openembedded.org/mt/101032261/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to