All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denis@denix.org>
To: Andreas M??ller <schnitzeltony@googlemail.com>
Cc: meta-ti@yoctoproject.org
Subject: Re: [PATCH] ti-eula-unpack: throw error message in case 32bit-glibc is missing
Date: Mon, 12 Mar 2012 16:12:02 -0400	[thread overview]
Message-ID: <20120312201202.GA9300@denix.org> (raw)
In-Reply-To: <1331544485-5050-1-git-send-email-schnitzeltony@googlemail.com>

On Mon, Mar 12, 2012 at 10:28:05AM +0100, Andreas M??ller wrote:
> 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>

Thanks, pushed with a slight update in the exception description.

-- 
Denys

> ---
>  recipes-ti/includes/ti-eula-unpack.inc |    8 ++++++++
>  1 files changed, 8 insertions(+), 0 deletions(-)
> 
> diff --git a/recipes-ti/includes/ti-eula-unpack.inc b/recipes-ti/includes/ti-eula-unpack.inc
> index 7c6e7b7..310d19f 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 e.g on Fedora run 'yum install glibc.i686'"
> +
>      localdata = bb.data.createCopy(d)
>      bb.data.update_data(localdata)
>  
> -- 
> 1.7.6.5
> 
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti


  parent reply	other threads:[~2012-03-12 20:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-12  9:28 [PATCH] ti-eula-unpack: throw error message in case 32bit-glibc is missing Andreas Müller
2012-03-12 10:50 ` Koen Kooi
2012-03-12 20:12 ` Denys Dmytriyenko [this message]
2012-03-15 17:35 ` Enrico
2012-03-15 17:47   ` Denys Dmytriyenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120312201202.GA9300@denix.org \
    --to=denis@denix.org \
    --cc=meta-ti@yoctoproject.org \
    --cc=schnitzeltony@googlemail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.