From: Saul Wold <sgw@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [CONSOLIDATED PULL 13/17] libc-common: Allow -dbg package to append, and not just set package variables
Date: Tue, 3 Jul 2012 00:09:42 -0700 [thread overview]
Message-ID: <fa1c7b797593cbd5e82dc264bde2667620eb0515.1341299168.git.sgw@linux.intel.com> (raw)
In-Reply-To: <cover.1341299168.git.sgw@linux.intel.com>
In-Reply-To: <cover.1341299168.git.sgw@linux.intel.com>
From: Mark Hatle <mark.hatle@windriver.com>
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.
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
---
meta/classes/libc-common.bbclass | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/meta/classes/libc-common.bbclass b/meta/classes/libc-common.bbclass
index 9b91f0a..8145d64 100644
--- a/meta/classes/libc-common.bbclass
+++ b/meta/classes/libc-common.bbclass
@@ -29,7 +29,7 @@ python populate_packages_prepend () {
d.setVar('PKG_'+bpn+'-dev', 'libc6-dev')
d.setVar('PKG_'+bpn+'-dbg', 'libc6-dbg')
# For backward compatibility with old -dbg package
- d.setVar('RPROVIDES_' + bpn + '-dbg', 'libc-dbg')
- d.setVar('RCONFLICTS_' + bpn + '-dbg', 'libc-dbg')
- d.setVar('RREPLACES_' + bpn + '-dbg', 'libc-dbg')
+ d.appendVar('RPROVIDES_' + bpn + '-dbg', ' libc-dbg')
+ d.appendVar('RCONFLICTS_' + bpn + '-dbg', ' libc-dbg')
+ d.appendVar('RREPLACES_' + bpn + '-dbg', ' libc-dbg')
}
--
1.7.7.6
next prev parent reply other threads:[~2012-07-03 7:21 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-03 7:09 [CONSOLIDATED PULL 00/17] SDK Fixes and other Patches Saul Wold
2012-07-03 7:09 ` [CONSOLIDATED PULL 01/17] kconfig-frontends: New recipe Saul Wold
2012-07-03 7:09 ` [CONSOLIDATED PULL 02/17] icu 3.6: do_install failed: Segmentation fault Saul Wold
2012-07-03 7:09 ` [CONSOLIDATED PULL 03/17] linux-yocto-custom: Remove linux-tools Saul Wold
2012-07-03 7:09 ` [CONSOLIDATED PULL 04/17] core-image*sdk: Add kernel-dev to sdk images Saul Wold
2012-07-03 7:09 ` [CONSOLIDATED PULL 05/17] Fix manual log file paths Saul Wold
2012-07-03 7:09 ` [CONSOLIDATED PULL 06/17] populate_sdk.bbclass: Split into two parts Saul Wold
2012-07-03 7:09 ` [CONSOLIDATED PULL 07/17] populate_sdk: Allow for attempt only packages in the SDK Saul Wold
2012-07-03 7:09 ` [CONSOLIDATED PULL 08/17] populate_sdk_base.bbclass: Change to using task specific depends Saul Wold
2012-07-03 7:09 ` [CONSOLIDATED PULL 09/17] populate_sdk: enable basic multilib support Saul Wold
2012-07-03 7:09 ` [CONSOLIDATED PULL 10/17] u-boot: Don't make the -Os removal part of global settings Saul Wold
2012-07-03 7:09 ` [CONSOLIDATED PULL 11/17] u-boot: do not clobber PARALLEL_MAKE setting Saul Wold
2012-07-03 7:09 ` [CONSOLIDATED PULL 12/17] autotools.bbclass: When configure fails, dump the config.log files the logs Saul Wold
2012-07-03 7:09 ` Saul Wold [this message]
2012-07-03 7:09 ` [CONSOLIDATED PULL 14/17] package.bbclass: Allow a package to skip per file dependency generation Saul Wold
2012-07-03 7:09 ` [CONSOLIDATED PULL 15/17] image.bbclass: Add support to build the SDK in parallel with the image Saul Wold
2012-07-03 7:09 ` [CONSOLIDATED PULL 16/17] base.bbclass: Add cross-canadian-${TRANSLATED_TARGET_ARCH} to the license exclusion list Saul Wold
2012-07-03 7:09 ` [CONSOLIDATED PULL 17/17] openjade-native: fix undefined Getopts error, use std namespace Saul Wold
2012-07-03 12:59 ` Martin Jansa
2012-07-03 14:55 ` [CONSOLIDATED PULL 00/17] SDK Fixes and other Patches Richard Purdie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=fa1c7b797593cbd5e82dc264bde2667620eb0515.1341299168.git.sgw@linux.intel.com \
--to=sgw@linux.intel.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox