summaryrefslogtreecommitdiffstats
path: root/recipes-ti
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@googlemail.com>2012-03-12 10:28:05 +0100
committerDenys Dmytriyenko <denys@ti.com>2012-03-12 16:08:34 -0400
commitcf056a6ae089c8078609ee6b644f39b19965fbcb (patch)
treed3c69239f770208010ff255e2b88cbd828936806 /recipes-ti
parented29286f2b16b48206ba788f790c1082c7724bb0 (diff)
downloadmeta-ti-cf056a6ae089c8078609ee6b644f39b19965fbcb.tar.gz
ti-eula-unpack: throw error message in case 32bit glibc is missing
TI installation tool requires 32bit glibc [1] [1] https://lists.yoctoproject.org/pipermail/meta-ti/2012-January/000357.html Signed-off-by: Andreas M??ller <schnitzeltony@googlemail.com> Acked-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-ti')
-rw-r--r--recipes-ti/includes/ti-eula-unpack.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes-ti/includes/ti-eula-unpack.inc b/recipes-ti/includes/ti-eula-unpack.inc
index 7c6e7b70..dcabe9d9 100644
--- a/recipes-ti/includes/ti-eula-unpack.inc
+++ b/recipes-ti/includes/ti-eula-unpack.inc
@@ -19,6 +19,14 @@ python ti_bin_do_unpack() {
19 19
20 import os 20 import os
21 21
22 # InstallJammer requires 32bit version of glibc
23 lib32path = '/lib'
24 if os.path.exists('/lib64') and ( os.path.islink('/lib64') or os.path.islink('/lib') ):
25 lib32path = '/lib32'
26 if not os.path.exists('%s/libc.so.6' % lib32path):
27 raise bb.build.FuncFailed, \
28 "\nTI installer requires 32bit glibc libraries for proper operation\n\trun 'yum install glibc.i686' on Fedora or 'apt-get install ia32-libs' on Ubuntu/Debian"
29
22 localdata = bb.data.createCopy(d) 30 localdata = bb.data.createCopy(d)
23 bb.data.update_data(localdata) 31 bb.data.update_data(localdata)
24 32