summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2012-06-28 16:08:51 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-03 14:55:00 +0100
commit6cb13874ecc6bba6adfbb113f8899f6a3ac173a6 (patch)
treedf7f8b054d9cf9f38143f9e588488152c5980055
parentb8bd56e34d05ed7463d3125e630f6e70ff2fdbd9 (diff)
downloadpoky-6cb13874ecc6bba6adfbb113f8899f6a3ac173a6.tar.gz
libc-common: Allow -dbg package to append, and not just set package variables
The libc-common attempts to rewrite the package information in a way similar to debian.bbclass. When it does this, it should be appending to the dependency variables (RPROVIDES, RREPLACES, and RCONFLICTS), instead of simply setting a hard coded value. Otherwise the lib package can not tailor the dependency variables to suite it's needs. (From OE-Core rev: fa1c7b797593cbd5e82dc264bde2667620eb0515) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/libc-common.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/libc-common.bbclass b/meta/classes/libc-common.bbclass
index 9b91f0a1a6..8145d64e29 100644
--- a/meta/classes/libc-common.bbclass
+++ b/meta/classes/libc-common.bbclass
@@ -29,7 +29,7 @@ python populate_packages_prepend () {
29 d.setVar('PKG_'+bpn+'-dev', 'libc6-dev') 29 d.setVar('PKG_'+bpn+'-dev', 'libc6-dev')
30 d.setVar('PKG_'+bpn+'-dbg', 'libc6-dbg') 30 d.setVar('PKG_'+bpn+'-dbg', 'libc6-dbg')
31 # For backward compatibility with old -dbg package 31 # For backward compatibility with old -dbg package
32 d.setVar('RPROVIDES_' + bpn + '-dbg', 'libc-dbg') 32 d.appendVar('RPROVIDES_' + bpn + '-dbg', ' libc-dbg')
33 d.setVar('RCONFLICTS_' + bpn + '-dbg', 'libc-dbg') 33 d.appendVar('RCONFLICTS_' + bpn + '-dbg', ' libc-dbg')
34 d.setVar('RREPLACES_' + bpn + '-dbg', 'libc-dbg') 34 d.appendVar('RREPLACES_' + bpn + '-dbg', ' libc-dbg')
35} 35}