From: Lucas Stach Date: Mon, 8 Dec 2025 19:17:39 +0000 (+0100) Subject: oe-depends-dot: handle packages with period in name X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f32a5c226390951654e6453797bae877b68149d1;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- 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: