From: Marcin Juszkiewicz Date: Fri, 6 Jun 2008 14:14:59 +0000 (+0000) Subject: opkg prints 'loading conf' informations so we get two lines each time X-Git-Tag: 2011-1~8878 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=76c8b40e44022dc238f81bb9107761d3f7bb30fe;p=openembedded-core.git opkg prints 'loading conf' informations so we get two lines each time git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4604 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- diff --git a/meta/classes/rootfs_ipk.bbclass b/meta/classes/rootfs_ipk.bbclass index e6f706de4e..7db2ecb2f1 100644 --- a/meta/classes/rootfs_ipk.bbclass +++ b/meta/classes/rootfs_ipk.bbclass @@ -101,7 +101,7 @@ install_all_locales() { do for lang in ${IMAGE_LOCALES} do - if [ `opkg-cl ${IPKG_ARGS} info $pkg-locale-$lang | wc -l` -gt 0 ] + if [ `opkg-cl ${IPKG_ARGS} info $pkg-locale-$lang | wc -l` -gt 2 ] then PACKAGES_TO_INSTALL="$PACKAGES_TO_INSTALL $pkg-locale-$lang" fi