summaryrefslogtreecommitdiffstats
path: root/meta/classes/rootfs_ipk.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/rootfs_ipk.bbclass')
-rw-r--r--meta/classes/rootfs_ipk.bbclass14
1 files changed, 9 insertions, 5 deletions
diff --git a/meta/classes/rootfs_ipk.bbclass b/meta/classes/rootfs_ipk.bbclass
index 3c9d03f9dd..50df68c76f 100644
--- a/meta/classes/rootfs_ipk.bbclass
+++ b/meta/classes/rootfs_ipk.bbclass
@@ -19,11 +19,15 @@ fakeroot rootfs_ipk_do_rootfs () {
19 mkdir -p ${T} 19 mkdir -p ${T}
20 20
21 ipkg-cl ${IPKG_ARGS} update 21 ipkg-cl ${IPKG_ARGS} update
22 if [ ! -z "${LINGUAS_INSTALL}" ]; then 22
23 ipkg-cl ${IPKG_ARGS} install glibc-localedata-i18n 23 # Uclibc builds don't provide this stuff...
24 for i in ${LINGUAS_INSTALL}; do 24 if [ x${TARGET_OS} = "xlinux" ] || [ x${TARGET_OS} = "xlinux-gnueabi" ] ; then
25 ipkg-cl ${IPKG_ARGS} install $i 25 if [ ! -z "${LINGUAS_INSTALL}" ]; then
26 done 26 ipkg-cl ${IPKG_ARGS} install glibc-localedata-i18n
27 for i in ${LINGUAS_INSTALL}; do
28 ipkg-cl ${IPKG_ARGS} install $i
29 done
30 fi
27 fi 31 fi
28 if [ ! -z "${PACKAGE_INSTALL}" ]; then 32 if [ ! -z "${PACKAGE_INSTALL}" ]; then
29 ipkg-cl ${IPKG_ARGS} install ${PACKAGE_INSTALL} 33 ipkg-cl ${IPKG_ARGS} install ${PACKAGE_INSTALL}