[meta-ti] Denys Dmytriyenko : ti-unpack: update for new Ubuntu 32bit lib packaging

Arago Project git git at arago-project.org
Tue May 3 13:35:59 PDT 2016


Module: meta-ti
Branch: master
Commit: 103171802bf4add2209ea33632eaf2bf4feb73be
URL:    http://arago-project.org/git/meta-ti.git?a=commit;h=103171802bf4add2209ea33632eaf2bf4feb73be

Author: Denys Dmytriyenko <denys at ti.com>
Date:   Tue May  3 08:25:59 2016 +0000

ti-unpack: update for new Ubuntu 32bit lib packaging

Signed-off-by: Denys Dmytriyenko <denys at ti.com>

---

 recipes-ti/includes/ti-unpack.inc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-ti/includes/ti-unpack.inc b/recipes-ti/includes/ti-unpack.inc
index c19c78c..9101044 100644
--- a/recipes-ti/includes/ti-unpack.inc
+++ b/recipes-ti/includes/ti-unpack.inc
@@ -24,8 +24,8 @@ python ti_bin_do_unpack() {
     lib32path = '/lib'
     if os.path.exists('/lib64') and (os.path.islink('/lib64') or os.path.islink('/lib') or os.path.exists('/lib32')):
         lib32path = '/lib32'
-    if not os.path.exists('%s/libc.so.6' % lib32path):
-        bb.warn("TI installer requires 32bit glibc libraries for proper operation\nrun 'yum install glibc.i686' on Fedora or 'apt-get install ia32-libs' on Ubuntu/Debian")
+    if not os.path.exists('%s/libc.so.6' % lib32path) and not os.path.exists('%s/i386-linux-gnu/libc.so.6' % lib32path):
+        bb.warn("TI installer requires 32bit glibc libraries for proper operation\nrun 'yum install glibc.i686' on Fedora or 'apt-get install libc6:i386' on Ubuntu/Debian")
 
     localdata = bb.data.createCopy(d)
     bb.data.update_data(localdata)



More information about the meta-ti mailing list