]> code.ossystems Code Review - openembedded-core.git/commitdiff
image.bbclass: Add LINGUAS_INSTALL to dependency list
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 7 Jul 2011 16:40:12 +0000 (09:40 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 8 Jul 2011 15:04:57 +0000 (16:04 +0100)
Currently if there are locales to install in the image the appropriate
packages might not automatically get built since there is no dependency
being exposed to bitbake.

This patch exposes the missing dependencies to bitbake through the RDEPENDS
field hence ensuring images build successfully when locales are added but
not depended upon anywhere else in the build.

[YOCTO #1215]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image.bbclass

index 1768a0bda3348a32c2a793a0324f24e8d92c41c3..edfb2d68c51e779ab690730a17fa0c4d635e7999 100644 (file)
@@ -5,7 +5,7 @@ inherit imagetest-${IMAGETEST}
 
 LICENSE = "MIT"
 PACKAGES = ""
-RDEPENDS += "${IMAGE_INSTALL}"
+RDEPENDS += "${IMAGE_INSTALL} ${LINGUAS_INSTALL}"
 
 INHIBIT_DEFAULT_DEPS = "1"