X-Git-Url: https://git.ti.com/gitweb?p=glsdk%2Fmeta-ti-glsdk.git;a=blobdiff_plain;f=recipes-ti%2Fincludes%2Fti-eula-unpack.inc;h=dcabe9d9edf0a846b8ddaaccf09d92b2775f6e7f;hp=7c6e7b70cf0190e23ccb51a32e4eaf96a48712d1;hb=cf056a6ae089c8078609ee6b644f39b19965fbcb;hpb=ed29286f2b16b48206ba788f790c1082c7724bb0;ds=sidebyside diff --git a/recipes-ti/includes/ti-eula-unpack.inc b/recipes-ti/includes/ti-eula-unpack.inc index 7c6e7b7..dcabe9d 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\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)