summaryrefslogtreecommitdiffstats
path: root/meta/classes/rootfs_deb.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-09-01 15:25:40 +0000
committerRichard Purdie <richard@openedhand.com>2007-09-01 15:25:40 +0000
commitf2ddfbb308b89d70167ac9c2b160935ad0feba27 (patch)
tree5d87973130a4aea09a88b2ad0d52945914307b36 /meta/classes/rootfs_deb.bbclass
parent411cd0c6aeba3a8dd52ecd72d17291c020e59215 (diff)
downloadpoky-f2ddfbb308b89d70167ac9c2b160935ad0feba27.tar.gz
classes: Sync with OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2630 311d38ba-8fff-0310-9ca6-ca027cbcb966
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