diff options
Diffstat (limited to 'meta/classes/rootfs_ipk.bbclass')
-rw-r--r-- | meta/classes/rootfs_ipk.bbclass | 16 |
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 | ||