]> code.ossystems Code Review - openembedded-core.git/commit
classes/image: implement generic locale package installation
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Thu, 22 Dec 2011 14:46:32 +0000 (14:46 +0000)
committerSaul Wold <sgw@linux.intel.com>
Tue, 3 Jan 2012 04:26:25 +0000 (20:26 -0800)
commitc0fc36f8629a6abb9a7b542df8a2857526547a31
treee93356851c58b384242fbc3d766d7ca967d6ba16
parente0ebe12541a6628b7629a9be5918d0e7ea92aa33
classes/image: implement generic locale package installation

Let each package-specific rootfs implementation provide basic functions
to query the existence of a package and install a list of packages and
then have a generic install function so this logic is in one place.

Note: unlike previous versions of this code in OE-Core this uses the
IMAGE_LINGUAS variable and not IMAGE_LOCALES - note that IMAGE_LINGUAS
was what was used in OE-Classic and it is already used in OE-Core in
order to install locale-base-*. This will mean that if IMAGE_LINGUAS is
left at the default you will now get more packages installed. If you
don't want these language support packages then you should set
IMAGE_LINGUAS explicitly.

This restores locale installation to the same state as OE-Classic, only
we now support all the packaging backends.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
meta/classes/image.bbclass
meta/classes/rootfs_deb.bbclass
meta/classes/rootfs_ipk.bbclass
meta/classes/rootfs_rpm.bbclass