diff options
author | Phil Blundell <philb@gnu.org> | 2004-11-21 23:51:14 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2004-11-21 23:51:14 +0000 |
commit | 0c6a2441199ffe9634f17bafacb1fed2b04a2919 (patch) | |
tree | 26561a4edfcbd35c918c3bcf47458e85df8518a3 /classes | |
parent | 65703cf85f0dc8e5603884e7b94dc10e97034582 (diff) |
Merge bk://openembedded@openembedded.bkbits.net/packages-devel
into stealth.nexus.co.uk:/home/pb/oe/oe-packages
2004/11/21 23:50:56+00:00 nexus.co.uk!pb
rootfs_ipk: try to work around ipk bugs with locale package handling
BKrev: 41a129f2YsrRmr4te-Q3Eafd_QrGGA
Diffstat (limited to 'classes')
-rw-r--r-- | classes/rootfs_ipk.oeclass | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/classes/rootfs_ipk.oeclass b/classes/rootfs_ipk.oeclass index 772984cc2f..b725d39cdf 100644 --- a/classes/rootfs_ipk.oeclass +++ b/classes/rootfs_ipk.oeclass @@ -20,7 +20,7 @@ ROOTFS_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()))}" +LINGUAS_INSTALL = "${@" ".join(map(lambda s: "locale-base-%s" % s, oe.data.getVar('IMAGE_LINGUAS', d, 1).split()))}" real_do_rootfs () { set -x @@ -50,6 +50,11 @@ EOF fi done ipkg-cl ${IPKG_ARGS} update + if [ ! -z "${LINGUAS_INSTALL}" ]; then + for i in ${LINGUAS_INSTALL}; do + ipkg-cl ${IPKG_ARGS} install $i + done + fi if [ ! -z "${IPKG_INSTALL}" ]; then ipkg-cl ${IPKG_ARGS} install ${IPKG_INSTALL} fi |