summaryrefslogtreecommitdiffstats
path: root/meta/classes/rootfs_ipk.bbclass
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-06-06 14:14:10 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2008-06-06 14:14:10 +0000
commit99e0700b4b4064f3c53401e2ceda3d3347f830cb (patch)
tree12549ee74d1a3f34071db9f4b769dd41cddad710 /meta/classes/rootfs_ipk.bbclass
parenteedc6b9b2fd9851b10bda716aa996c11f4c30b75 (diff)
downloadpoky-99e0700b4b4064f3c53401e2ceda3d3347f830cb.tar.gz
rootfs_ipk.bbclass: reformatted install_all_locales function
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4602 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes/rootfs_ipk.bbclass')
-rw-r--r--meta/classes/rootfs_ipk.bbclass16
1 files changed, 8 insertions, 8 deletions
diff --git a/meta/classes/rootfs_ipk.bbclass b/meta/classes/rootfs_ipk.bbclass
index 5f7c741e6e..d038686cc9 100644
--- a/meta/classes/rootfs_ipk.bbclass
+++ b/meta/classes/rootfs_ipk.bbclass
@@ -97,17 +97,17 @@ install_all_locales() {
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 for pkg in `grep ^Package: ${IMAGE_ROOTFS}${libdir}/opkg/status |sed "s/^Package: //"|egrep -v -- "(-locale-|-dev$|-doc$|^kernel|^glibc|^ttf|^task|^perl|^python)"`
99 do 99 do
100 for lang in ${IMAGE_LOCALES} 100 for lang in ${IMAGE_LOCALES}
101 do 101 do
102 if [ `opkg-cl ${IPKG_ARGS} info $pkg-locale-$lang | wc -l` -gt 0 ] 102 if [ `opkg-cl ${IPKG_ARGS} info $pkg-locale-$lang | wc -l` -gt 0 ]
103 then 103 then
104 PACKAGES_TO_INSTALL="$PACKAGES_TO_INSTALL $pkg-locale-$lang" 104 PACKAGES_TO_INSTALL="$PACKAGES_TO_INSTALL $pkg-locale-$lang"
105 fi 105 fi
106 done 106 done
107 done 107 done
108 if [ "$PACKAGES_TO_INSTALL" != "" ] 108 if [ "$PACKAGES_TO_INSTALL" != "" ]
109 then 109 then
110 opkg-cl ${IPKG_ARGS} install $PACKAGES_TO_INSTALL 110 opkg-cl ${IPKG_ARGS} install $PACKAGES_TO_INSTALL
111 fi 111 fi
112} 112}
113 113