summaryrefslogtreecommitdiffstats
path: root/meta/classes/rootfs_ipk.bbclass
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-06-06 14:14:28 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2008-06-06 14:14:28 +0000
commit8009f0e3fee1227bec5b529f0ca327fd6bc532c2 (patch)
tree2701b804395fcf6c1fe62f37b0f7e76a1816eae4 /meta/classes/rootfs_ipk.bbclass
parent99e0700b4b4064f3c53401e2ceda3d3347f830cb (diff)
downloadpoky-8009f0e3fee1227bec5b529f0ca327fd6bc532c2.tar.gz
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.bbclass4
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() {
95 95
96 PACKAGES_TO_INSTALL="" 96 PACKAGES_TO_INSTALL=""
97 97
98 for pkg in `grep ^Package: ${IMAGE_ROOTFS}${libdir}/opkg/status |sed "s/^Package: //"|egrep -v -- "(-locale-|-dev$|-doc$|^kernel|^glibc|^ttf|^task|^perl|^python)"` 98 INSTALLED_PACKAGES=`grep ^Package: ${IMAGE_ROOTFS}${libdir}/opkg/status |sed "s/^Package: //"|egrep -v -- "(-locale-|-dev$|-doc$|^kernel|^glibc|^ttf|^task|^perl|^python)"`
99
100 for pkg in $INSTALLED_PACKAGES
99 do 101 do
100 for lang in ${IMAGE_LOCALES} 102 for lang in ${IMAGE_LOCALES}
101 do 103 do