1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-05-07 03:49:20 +00:00

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>
This commit is contained in:
Andreas Müller
2012-03-12 10:28:05 +01:00
committed by Denys Dmytriyenko
parent ed29286f2b
commit cf056a6ae0
+8
View File
@@ -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\n\trun 'yum install glibc.i686' on Fedora or 'apt-get install ia32-libs' on Ubuntu/Debian"
localdata = bb.data.createCopy(d)
bb.data.update_data(localdata)