diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2011-09-27 15:28:02 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-09-28 14:58:53 +0100 |
commit | 9184d807f776ca3c9ef315050fb2a9e139fedc8b (patch) | |
tree | f490eda709090c9c7425c8ad22478362679e430c /meta/classes/multilib.bbclass | |
parent | ae29e8d3252afdaba451e225f1a4298a8fdf2718 (diff) | |
download | poky-9184d807f776ca3c9ef315050fb2a9e139fedc8b.tar.gz |
multilib.bbclass: map RDEPENDS and LINGUAS_INSTALL for image recipes
RDEPENDS of image type recipe needs to be mapped to make sure that the
packages included in the image should be multilib version.
Also add LINGUAS_INSTALL into MULTILIB_PACKAGE_INSTALL list.
[YOCTO #1496]
[YOCTO #1527]
(From OE-Core rev: 93984bb1c9440294a694986831d7a4114c55a282)
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/multilib.bbclass')
-rw-r--r-- | meta/classes/multilib.bbclass | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/classes/multilib.bbclass b/meta/classes/multilib.bbclass index 98f69116b8..0ea1038de9 100644 --- a/meta/classes/multilib.bbclass +++ b/meta/classes/multilib.bbclass | |||
@@ -54,9 +54,12 @@ python __anonymous () { | |||
54 | 54 | ||
55 | if bb.data.inherits_class('image', d): | 55 | if bb.data.inherits_class('image', d): |
56 | map_dependencies("PACKAGE_INSTALL", d) | 56 | map_dependencies("PACKAGE_INSTALL", d) |
57 | pinstall = d.getVar("PACKAGE_INSTALL", True) + " " + d.getVar("MULTILIB_PACKAGE_INSTALL", False) | 57 | map_dependencies("LINGUAS_INSTALL", d) |
58 | map_dependencies("RDEPENDS", d) | ||
59 | pinstall = d.getVar("LINGUAS_INSTALL", True) + " " + d.getVar("PACKAGE_INSTALL", True) + " " + d.getVar("MULTILIB_PACKAGE_INSTALL", False) | ||
58 | d.setVar("MULTILIB_PACKAGE_INSTALL", pinstall) | 60 | d.setVar("MULTILIB_PACKAGE_INSTALL", pinstall) |
59 | d.setVar("PACKAGE_INSTALL", "") | 61 | d.setVar("PACKAGE_INSTALL", "") |
62 | d.setVar("LINGUAS_INSTALL", "") | ||
60 | # FIXME, we need to map this to something, not delete it! | 63 | # FIXME, we need to map this to something, not delete it! |
61 | d.setVar("PACKAGE_INSTALL_ATTEMPTONLY", "") | 64 | d.setVar("PACKAGE_INSTALL_ATTEMPTONLY", "") |
62 | return | 65 | return |