[oe-commits] Chris Larson : image.bbclass: use un-renamed packages in RDEPENDS

git version control git at git.openembedded.org
Thu Oct 14 15:55:26 UTC 2010


Module: openembedded.git
Branch: master
Commit: c30bd83438f9adcd9e6c666cc4d4d2b433b1782f
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=c30bd83438f9adcd9e6c666cc4d4d2b433b1782f

Author: Chris Larson <chris_larson at mentor.com>
Date:   Thu Oct 14 07:31:32 2010 -0700

image.bbclass: use un-renamed packages in RDEPENDS

The issue was that PACKAGE_INSTALL* get debian package renaming applied, but
this renaming is outside of bitbake's knowledge.  Making RDEPENDS use
PACKAGE_INSTALL, therefore, caused problems when adding libraries to images
directly rather than indirectly.

While I'm at it, change it to ensure PACKAGE_INSTALL_ATTEMPTONLY packages
also end up in RDEPENDS, not renamed.

Reported-by: Tasslehoff Kjappfot <tasskjapp at gmail.com>
Signed-off-by: Chris Larson <chris_larson at mentor.com>

---

 classes/image.bbclass |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/classes/image.bbclass b/classes/image.bbclass
index 8f1afef..a9a4107 100644
--- a/classes/image.bbclass
+++ b/classes/image.bbclass
@@ -39,6 +39,8 @@ LINGUAS_INSTALL_linux-gnueabi = "${LINGUAS_INSTALL_linux}"
 
 PACKAGE_INSTALL = "${@' '.join(oe.packagegroup.required_packages('${IMAGE_FEATURES}'.split(), d))}"
 PACKAGE_INSTALL_ATTEMPTONLY = "${@' '.join(oe.packagegroup.optional_packages('${IMAGE_FEATURES}'.split(), d))}"
+RDEPENDS += "${@' '.join(oe.packagegroup.active_packages('${IMAGE_FEATURES}'.split(), d))}"
+
 
 IMAGE_FEATURES ?= ""
 IMAGE_FEATURES_prepend = "image_base "
@@ -72,9 +74,6 @@ PACKAGE_GROUP_dev[optional] = "1"
 PACKAGE_GROUP_doc = "${@string_set('%s-doc' % pn for pn in oe.packagegroup.active_recipes(image_features_noextras(d), d))}"
 PACKAGE_GROUP_doc[optional] = "1"
 
-
-RDEPENDS += "${PACKAGE_INSTALL}"
-
 # "export IMAGE_BASENAME" not supported at this time
 IMAGE_BASENAME[export] = "1"
 





More information about the Openembedded-commits mailing list