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 <l.stach@pengutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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: