Skip to contentSkip to conversation

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

PATCH New Denys Dmytriyenko 1 participant 1 message May 3, 2016

lore
Share & tools
lore
#0 lore raw

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

From: Denys Dmytriyenko <[email protected]>

---
 recipes-ti/includes/ti-unpack.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-ti/includes/ti-unpack.inc +2 -2
index c19c78c..9101044 100644
@@ -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)
Signature · 1 line
2.2.0