mirror of
git://git.yoctoproject.org/poky
synced 2026-08-12 11:31:14 +00: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:
parent
af377d6e0c
commit
04e2dd9e0b
@ -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():
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user