diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-12 11:35:42 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-13 08:27:17 +0000 |
commit | 056339c32a9ff0735d39cae216663147cdbb275c (patch) | |
tree | c26860e151708e8c84f80b222c826f0dc94f32b7 /meta/classes/debian.bbclass | |
parent | 60207e0cf3a5bce9123d3631a10a9540c72a9034 (diff) | |
download | openembedded-core-056339c32a9ff0735d39cae216663147cdbb275c.tar.gz openembedded-core-056339c32a9ff0735d39cae216663147cdbb275c.tar.bz2 openembedded-core-056339c32a9ff0735d39cae216663147cdbb275c.zip |
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.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/debian.bbclass')
-rw-r--r-- | meta/classes/debian.bbclass | 2 |
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: |