]> code.ossystems Code Review - openembedded-core.git/commit
package_rpm: Clean up unset runtime package variable handling
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 27 Jan 2021 21:48:54 +0000 (21:48 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 29 Jan 2021 21:21:27 +0000 (21:21 +0000)
commit06bf68012302330c2b14f59541f78f48c7389c37
tree61dc3d135dcdd3ce5ac94e017e30655d7fd75e73
parentc723866a6834b8fa89b036a627f619a0c391a662
package_rpm: Clean up unset runtime package variable handling

If the R* runtime package variables are unset it could cause trackbacks. There
were some fallbacks already, clean this up to handle consistently.

The code was expecting strings but setting defaults of empty lists
which silently were converted to strings by the "or" statements which
was a nightmare to understand or alter.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package_rpm.bbclass