diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-06-06 14:14:28 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-06-06 14:14:28 +0000 |
commit | 8009f0e3fee1227bec5b529f0ca327fd6bc532c2 (patch) | |
tree | 2701b804395fcf6c1fe62f37b0f7e76a1816eae4 /meta/classes/rootfs_ipk.bbclass | |
parent | 99e0700b4b4064f3c53401e2ceda3d3347f830cb (diff) | |
download | openembedded-core-8009f0e3fee1227bec5b529f0ca327fd6bc532c2.tar.gz openembedded-core-8009f0e3fee1227bec5b529f0ca327fd6bc532c2.tar.bz2 openembedded-core-8009f0e3fee1227bec5b529f0ca327fd6bc532c2.zip |
rootfs_ipk.bbclass: do grep in install_all_locales just once
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4603 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes/rootfs_ipk.bbclass')
-rw-r--r-- | meta/classes/rootfs_ipk.bbclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/rootfs_ipk.bbclass b/meta/classes/rootfs_ipk.bbclass index d038686cc9..e6f706de4e 100644 --- a/meta/classes/rootfs_ipk.bbclass +++ b/meta/classes/rootfs_ipk.bbclass @@ -95,7 +95,9 @@ install_all_locales() { PACKAGES_TO_INSTALL="" - for pkg in `grep ^Package: ${IMAGE_ROOTFS}${libdir}/opkg/status |sed "s/^Package: //"|egrep -v -- "(-locale-|-dev$|-doc$|^kernel|^glibc|^ttf|^task|^perl|^python)"` + INSTALLED_PACKAGES=`grep ^Package: ${IMAGE_ROOTFS}${libdir}/opkg/status |sed "s/^Package: //"|egrep -v -- "(-locale-|-dev$|-doc$|^kernel|^glibc|^ttf|^task|^perl|^python)"` + + for pkg in $INSTALLED_PACKAGES do for lang in ${IMAGE_LOCALES} do |