All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ti-eula-unpack: throw error message in case 32bit-glibc is missing
@ 2012-03-12  9:28 Andreas Müller
  2012-03-12 10:50 ` Koen Kooi
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Andreas Müller @ 2012-03-12  9:28 UTC (permalink / raw)
  To: meta-ti

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>
---
 recipes-ti/includes/ti-eula-unpack.inc |    8 ++++++++
 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 7c6e7b7..310d19f 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() {
 
     import os
 
+    # InstallJammer requires 32bit version of glibc
+    lib32path = '/lib'
+    if os.path.exists('/lib64') and ( os.path.islink('/lib64') or os.path.islink('/lib') ):
+       lib32path = '/lib32'
+    if not os.path.exists('%s/libc.so.6' % lib32path):
+	raise bb.build.FuncFailed, \
+        "\nTI installer requires 32bit glibc libraries for proper operation e.g on Fedora run 'yum install glibc.i686'"
+
     localdata = bb.data.createCopy(d)
     bb.data.update_data(localdata)
 
-- 
1.7.6.5



^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-03-15 17:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-12  9:28 [PATCH] ti-eula-unpack: throw error message in case 32bit-glibc is missing Andreas Müller
2012-03-12 10:50 ` Koen Kooi
2012-03-12 20:12 ` Denys Dmytriyenko
2012-03-15 17:35 ` Enrico
2012-03-15 17:47   ` Denys Dmytriyenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.