All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] sanity.bbclass: some multilib systems have symlink /lib -> /lib64
Date: Tue, 08 Mar 2011 10:49:28 -0800	[thread overview]
Message-ID: <1299610168.602.95.camel@rex> (raw)
In-Reply-To: <1299145156-32150-1-git-send-email-Martin.Jansa@gmail.com>

On Thu, 2011-03-03 at 10:39 +0100, Martin Jansa wrote:
> * ie gentoo has /lib -> /lib64
> * old test assumed only /lib64 -> /lib
> 
> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> ---
>  meta/classes/sanity.bbclass |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
> index 13940f8..433313b 100644
> --- a/meta/classes/sanity.bbclass
> +++ b/meta/classes/sanity.bbclass
> @@ -211,7 +211,7 @@ def check_sanity(e):
>      nolibs = data.getVar('NO32LIBS', e.data, True)
>      if not nolibs:
>          lib32path = '/lib'
> -        if os.path.exists('/lib64') and os.path.islink('/lib64'):
> +        if os.path.exists('/lib64') and ( os.path.islink('/lib64') or os.path.islink('/lib') ):
>             lib32path = '/lib32'
>  
>          if os.path.exists('%s/libc.so.6' % lib32path) and not os.path.exists('/usr/include/gnu/stubs-32.h'):

Merged to master, thanks.

Richard




      parent reply	other threads:[~2011-03-08 18:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-03  9:39 [PATCH] sanity.bbclass: some multilib systems have symlink /lib -> /lib64 Martin Jansa
2011-03-03  9:56 ` Koen Kooi
2011-03-08 18:49 ` Richard Purdie [this message]

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=1299610168.602.95.camel@rex \
    --to=richard.purdie@linuxfoundation.org \
    --cc=openembedded-core@lists.openembedded.org \
    /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.