From 34a5f9f816a4a580569eaf3a2a219269e5a1639b Mon Sep 17 00:00:00 2001 From: Phil Blundell Date: Sat, 31 Jul 2004 14:17:21 +0000 Subject: add support for installing locale packages BKrev: 410ba9f1zKSvmvH2TCwVXc7HhC1Anw --- classes/rootfs_ipk.oeclass | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'classes/rootfs_ipk.oeclass') 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} -- cgit v1.2.3