diff options
Diffstat (limited to 'classes/rootfs_ipk.oeclass')
-rw-r--r-- | classes/rootfs_ipk.oeclass | 5 |
1 files changed, 5 insertions, 0 deletions
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} |