mirror of
https://git.yoctoproject.org/poky
synced 2026-04-13 05:02:24 +02:00
multilib_global: Stop empty space influencing RPROVIDES
If the resulting RPROVIDES is empty, don't set it. This streamlines pkgdata slightly removing empty values and avoids other errors which confuse the datastore when the variable is best left unset. (From OE-Core rev: fe10ea6bd6078828016d3954ad9b290f638d6dbb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -142,7 +142,8 @@ python multilib_virtclass_handler_global () {
|
||||
origrprovs = rprovs = e.data.getVar("RPROVIDES", True) or ""
|
||||
for clsextend in clsextends:
|
||||
rprovs = rprovs + " " + clsextend.map_variable("RPROVIDES", setvar=False)
|
||||
e.data.setVar("RPROVIDES", rprovs)
|
||||
if rprovs.strip():
|
||||
e.data.setVar("RPROVIDES", rprovs)
|
||||
|
||||
# Process RPROVIDES_${PN}...
|
||||
for pkg in (e.data.getVar("PACKAGES", True) or "").split():
|
||||
|
||||
Reference in New Issue
Block a user