]> code.ossystems Code Review - openembedded-core.git/commit
IMAGE_LINGUAS_COMPLEMENTARY: auto-add language packages other than locales
authorAndreas Müller <schnitzeltony@gmail.com>
Sun, 27 Oct 2019 20:30:40 +0000 (21:30 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 31 Oct 2019 16:07:11 +0000 (16:07 +0000)
commit3a9e9585aeb67234901b2f842113dbe20c3801b3
tree5310889e0400e349f238c1bc74da11c3ce790816
parent33aefbf0fe62c5e49cac453a6e09e7b1cae60174
IMAGE_LINGUAS_COMPLEMENTARY: auto-add language packages other than locales

This change allows layers adding packages other than locales automatically to
images based on languages selected in IMAGE_LINGUAS.

E.g if a layer has recipes creating packages as:
| ${PN}-foo-en / ${PN}-foo-de / ${PN}-foo-it / ..

it would set
| IMAGE_LINGUAS_COMPLEMENTARY_append = " *-foo-%s"

in its layer.conf to enable auto-adding.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/image.bbclass
meta/lib/oe/package_manager.py