summaryrefslogtreecommitdiffstats
path: root/meta/classes/rootfs_deb.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/rootfs_deb.bbclass')
-rw-r--r--meta/classes/rootfs_deb.bbclass18
1 files changed, 10 insertions, 8 deletions
diff --git a/meta/classes/rootfs_deb.bbclass b/meta/classes/rootfs_deb.bbclass
index 6d405d2f51..1dc19e746f 100644
--- a/meta/classes/rootfs_deb.bbclass
+++ b/meta/classes/rootfs_deb.bbclass
@@ -56,17 +56,19 @@ fakeroot rootfs_deb_do_rootfs () {
56 cat ${IMAGE_ROOTFS}/var/dpkg/status | sed -n -e "/^Package: $2\$/{n; s/Status: install ok .*/$1/; p}" 56 cat ${IMAGE_ROOTFS}/var/dpkg/status | sed -n -e "/^Package: $2\$/{n; s/Status: install ok .*/$1/; p}"
57 } 57 }
58 58
59 if [ ! -z "${LINGUAS_INSTALL}" ]; then 59 if [ x${TARGET_OS} = "xlinux" ] || [ x${TARGET_OS} = "xlinux-gnueabi" ] ; then
60 apt-get install glibc-localedata-i18n --force-yes --allow-unauthenticated 60 if [ ! -z "${LINGUAS_INSTALL}" ]; then
61 if [ $? -ne 0 ]; then 61 apt-get install glibc-localedata-i18n --force-yes --allow-unauthenticated
62 exit 1
63 fi
64 for i in ${LINGUAS_INSTALL}; do
65 apt-get install $i --force-yes --allow-unauthenticated
66 if [ $? -ne 0 ]; then 62 if [ $? -ne 0 ]; then
67 exit 1 63 exit 1
68 fi 64 fi
69 done 65 for i in ${LINGUAS_INSTALL}; do
66 apt-get install $i --force-yes --allow-unauthenticated
67 if [ $? -ne 0 ]; then
68 exit 1
69 fi
70 done
71 fi
70 fi 72 fi
71 73
72 if [ ! -z "${PACKAGE_INSTALL}" ]; then 74 if [ ! -z "${PACKAGE_INSTALL}" ]; then