sanity.bbclass: some multilib systems have symlink /lib -> /lib64
PATCH 1/1 sanity.bbclass: some multilib systems have symlink /lib -> /lib64
* ie gentoo has /lib -> /lib64
* old test assumed only /lib64 -> /lib
Signed-off-by Martin Jansa <[email protected]>
--- meta/classes/sanity.bbclass | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
meta/classes/sanity.bbclass +1 -1
@@ -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'):
Signature · 1 line
1.7.4.1
Op 3 mrt 2011, om 10:39 heeft Martin Jansa het volgende geschreven:
Quoted 4 lines
* ie gentoo has /lib -> /lib64
* old test assumed only /lib64 -> /libSigned-off-by Martin Jansa <[email protected]>
Looks good to me:
Acked-by Koen Kooi <[email protected]>
Quoted 25 lines
---
meta/classes/sanity.bbclass | 2 +-1 files changed, 1 insertions(+), 1 deletions(-)meta/classes/sanity.bbclass +1
-1@@ -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'):Signature · 7 lines
1.7.4.1 _______________________________________________ Openembedded-core mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Richard Purdie
AppliedQuoted 13 lines · Martin Jansa
* ie gentoo has /lib -> /lib64
* old test assumed only /lib64 -> /libSigned-off-by Martin Jansa <[email protected]>--- meta/classes/sanity.bbclass | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)meta/classes/sanity.bbclass +0
-0
meta/classes/sanity.bbclass def check_sanity(e): · line 217
Quoted 8 lines
meta/classes/sanity.bbclass +1
-1@@ -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