From f32a5c226390951654e6453797bae877b68149d1 Mon Sep 17 00:00:00 2001 From: Lucas Stach Date: Mon, 8 Dec 2025 20:17:39 +0100 Subject: [PATCH] oe-depends-dot: handle packages with period in name oe-depends-dot currently fails to look up the key when the package name contains a period, as the key gets truncated in the split from the task. Handle this by only splitting a single time from the right. Signed-off-by: Lucas Stach Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- scripts/oe-depends-dot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/oe-depends-dot b/scripts/oe-depends-dot index d02ee455f6..10e8b1d387 100755 --- a/scripts/oe-depends-dot +++ b/scripts/oe-depends-dot @@ -114,8 +114,8 @@ Reduce the .dot file packages only, no tasks: if key == "meta-world-pkgdata": continue dep = m.group(2) - key = key.split('.')[0] - dep = dep.split('.')[0] + key = key.rsplit('.', 1)[0] + dep = dep.rsplit('.', 1)[0] if key == dep: continue if key in depends: -- 2.47.3