summaryrefslogtreecommitdiff
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)
downloadopenembedded-core-f2ddfbb308b89d70167ac9c2b160935ad0feba27.tar.gz
openembedded-core-f2ddfbb308b89d70167ac9c2b160935ad0feba27.tar.bz2
openembedded-core-f2ddfbb308b89d70167ac9c2b160935ad0feba27.tar.xz
openembedded-core-f2ddfbb308b89d70167ac9c2b160935ad0feba27.zip
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 6d405d2f5..1dc19e746 100644
--- a/meta/classes/rootfs_deb.bbclass
+++ b/meta/classes/rootfs_deb.bbclass
@@ -56,17 +56,19 @@ fakeroot rootfs_deb_do_rootfs () {
cat ${IMAGE_ROOTFS}/var/dpkg/status | sed -n -e "/^Package: $2\$/{n; s/Status: install ok .*/$1/; p}"
}
- if [ ! -z "${LINGUAS_INSTALL}" ]; then
- apt-get install glibc-localedata-i18n --force-yes --allow-unauthenticated
- if [ $? -ne 0 ]; then
- exit 1
- fi
- for i in ${LINGUAS_INSTALL}; do
- apt-get install $i --force-yes --allow-unauthenticated
+ if [ x${TARGET_OS} = "xlinux" ] || [ x${TARGET_OS} = "xlinux-gnueabi" ] ; then
+ if [ ! -z "${LINGUAS_INSTALL}" ]; then
+ apt-get install glibc-localedata-i18n --force-yes --allow-unauthenticated
if [ $? -ne 0 ]; then
exit 1
fi
- done
+ for i in ${LINGUAS_INSTALL}; do
+ apt-get install $i --force-yes --allow-unauthenticated
+ if [ $? -ne 0 ]; then
+ exit 1
+ fi
+ done
+ fi
fi
if [ ! -z "${PACKAGE_INSTALL}" ]; then