aboutsummaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-12 11:35:42 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-14 11:42:19 +0000
commit7c3d4c033e90c023a6989bc81c77f1120125421c (patch)
treeee8d5f731abc1158d5e28f13091945928389ee0b /meta
parent2eba066ccbbdf672315f52018fa52565713f7b2a (diff)
downloadopenembedded-core-contrib-7c3d4c033e90c023a6989bc81c77f1120125421c.tar.gz
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>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/debian.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/debian.bbclass b/meta/classes/debian.bbclass
index 1b6979a285..be7cacca98 100644
--- a/meta/classes/debian.bbclass
+++ b/meta/classes/debian.bbclass
@@ -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: