Patchwork [1/1] multilib.bbclass: map RDEPENDS for image recipes

login
register
mail settings
Submitter Dongxiao Xu
Date Sept. 27, 2011, 8:19 a.m.
Message ID <9ce2e8b59aee6c922458e8c32d4b292d78d471c5.1317109075.git.dongxiao.xu@intel.com>
Download mbox | patch
Permalink /patch/12191/
State New, archived
Headers show

Comments

Dongxiao Xu - Sept. 27, 2011, 8:19 a.m.
RDEPENDS of image type recipe needs to be mapped to make sure that the
packages included in the image should be multilib version.

[YOCTO #1496]
[YOCTO #1527]

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
---
 meta/classes/multilib.bbclass |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

diff --git a/meta/classes/multilib.bbclass b/meta/classes/multilib.bbclass
index 98f6911..433bc07 100644
--- a/meta/classes/multilib.bbclass
+++ b/meta/classes/multilib.bbclass
@@ -54,6 +54,7 @@  python __anonymous () {
 
     if bb.data.inherits_class('image', d):
         map_dependencies("PACKAGE_INSTALL", d)
+        map_dependencies("RDEPENDS", d)
         pinstall = d.getVar("PACKAGE_INSTALL", True) + " " + d.getVar("MULTILIB_PACKAGE_INSTALL", False)
         d.setVar("MULTILIB_PACKAGE_INSTALL", pinstall)
         d.setVar("PACKAGE_INSTALL", "")