diff options
-rw-r--r-- | recipes-ti/includes/ti-eula-unpack.inc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/recipes-ti/includes/ti-eula-unpack.inc b/recipes-ti/includes/ti-eula-unpack.inc index dcabe9d9..60f5558b 100644 --- a/recipes-ti/includes/ti-eula-unpack.inc +++ b/recipes-ti/includes/ti-eula-unpack.inc | |||
@@ -21,11 +21,10 @@ python ti_bin_do_unpack() { | |||
21 | 21 | ||
22 | # InstallJammer requires 32bit version of glibc | 22 | # InstallJammer requires 32bit version of glibc |
23 | lib32path = '/lib' | 23 | lib32path = '/lib' |
24 | if os.path.exists('/lib64') and ( os.path.islink('/lib64') or os.path.islink('/lib') ): | 24 | if os.path.exists('/lib64') and (os.path.islink('/lib64') or os.path.islink('/lib') or os.path.exists('/lib32')): |
25 | lib32path = '/lib32' | 25 | lib32path = '/lib32' |
26 | if not os.path.exists('%s/libc.so.6' % lib32path): | 26 | if not os.path.exists('%s/libc.so.6' % lib32path): |
27 | raise bb.build.FuncFailed, \ | 27 | 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") |
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 | 28 | ||
30 | localdata = bb.data.createCopy(d) | 29 | localdata = bb.data.createCopy(d) |
31 | bb.data.update_data(localdata) | 30 | bb.data.update_data(localdata) |