From: Phil Blundell Date: Sat, 31 Jul 2004 14:17:21 +0000 (+0000) Subject: add support for installing locale packages X-Git-Tag: Release-2010-05/1~17938 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34a5f9f816a4a580569eaf3a2a219269e5a1639b;p=openembedded.git add support for installing locale packages BKrev: 410ba9f1zKSvmvH2TCwVXc7HhC1Anw --- diff --git a/classes/rootfs_ipk.oeclass b/classes/rootfs_ipk.oeclass index 0494969436..723712ab86 100644 --- a/classes/rootfs_ipk.oeclass +++ b/classes/rootfs_ipk.oeclass @@ -17,6 +17,11 @@ IPKG_ARGS = "-f ${T}/ipkg.conf -o ${IMAGE_ROOTFS}" IMAGE_POSTPROCESS_COMMAND ?= "" +# some default locales +IMAGE_LINGUAS ?= "de-de fr-fr en-gb" + +IPKG_INSTALL =+ "${@" ".join(map(lambda s: "locale-base-%s" % s, oe.data.getVar('IMAGE_LINGUAS', d, 1).split()))}" + real_do_rootfs () { set -x rm -rf ${IMAGE_ROOTFS}