mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
debian: Fix superfluous setting for RPROVIDES
PKG_ can be set to something like ${MLPREFIX}<name> and the lack of expansion here
means the case where MLPREFIX is empty leads to a bogus RPROVIDES.
Use expansion of the variable to avoid this.
(From OE-Core rev: 056339c32a9ff0735d39cae216663147cdbb275c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -53,7 +53,7 @@ python debian_package_name_hook () {
|
||||
return (s[stat.ST_MODE] & stat.S_IEXEC)
|
||||
|
||||
def add_rprovides(pkg, d):
|
||||
newpkg = d.getVar('PKG_' + pkg, False)
|
||||
newpkg = d.getVar('PKG_' + pkg, True)
|
||||
if newpkg and newpkg != pkg:
|
||||
provs = (d.getVar('RPROVIDES_' + pkg, True) or "").split()
|
||||
if pkg not in provs:
|
||||
|
||||
Reference in New Issue
Block a user