* [PATCH] sanity.bbclass: some multilib systems have symlink /lib -> /lib64
@ 2011-03-03 9:39 Martin Jansa
2011-03-03 9:56 ` Koen Kooi
2011-03-08 18:49 ` Richard Purdie
0 siblings, 2 replies; 3+ messages in thread
From: Martin Jansa @ 2011-03-03 9:39 UTC (permalink / raw)
To: openembedded-core
* 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'):
--
1.7.4.1
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] sanity.bbclass: some multilib systems have symlink /lib -> /lib64
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
1 sibling, 0 replies; 3+ messages in thread
From: Koen Kooi @ 2011-03-03 9:56 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
Op 3 mrt 2011, om 10:39 heeft Martin Jansa het volgende geschreven:
> * ie gentoo has /lib -> /lib64
> * old test assumed only /lib64 -> /lib
>
> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Looks good to me:
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
> ---
> 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'):
> --
> 1.7.4.1
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] sanity.bbclass: some multilib systems have symlink /lib -> /lib64
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
1 sibling, 0 replies; 3+ messages in thread
From: Richard Purdie @ 2011-03-08 18:49 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-03-08 18:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.