Skip to content

RFC patch for non /usr/lib libdir - V2

Yu Ke openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest9 of 10 patches 4 repliesIn review

9 of 10 patches are in this archive. The cover letter announces 10.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10native.bbclass: generate libdir from libdir_nativemeta/classes/native.bbclass+2 -00 replies
2/10openssl: fix for non /usr/lib libdir casemeta/recipes-connectivity/openssl/openssl.inc meta/recipes-connectivity/openssl/openssl_0.9.8r.bb+2 -20 replies
3/10libc-package.bbclass: fix for non /usr/lib libdir casemeta/classes/libc-package.bbclass+2 -20 replies
4/10python: fix for libdir=/usr/lib64 casemeta/recipes-devtools/python/python/multilib.patch meta/recipes-devtools/python/python_2.6.6.bb+252 -10 replies
5/10python-native: fix for non /usr/lib libdir casemeta/recipes-devtools/python/python-native/12-distutils-prefix-is-inside-staging-area.patch meta/recipes-devtools/python/python-native_2.6.6.bb+12 -50 replies
6/10perl: fix for non /usr/lib libdir casemeta/recipes-devtools/perl/perl_5.12.3.bb+2 -10 replies
7/10libcap: fix for non /usr/lib libdir casemeta/recipes-support/libcap/libcap.inc meta/recipes-support/libcap/libcap_2.20.bb+4 -30 replies
8/10rpm: fix for non /usr/lib libdir casemeta/recipes-devtools/rpm/rpm_5.4.0.bb+2 -10 replies
9/10sat-solver: fix for non /usr/lib libdir casemeta/classes/cmake.bbclass meta/recipes-extended/sat-solver/sat-solver_git.bb+8 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/10] [RFC] patch for non /usr/lib libdir - V2

This is the V2 patches. the changes compared to V1 are:
- revise python patch to make the sys.lib deriving from libdir, instead of hardcode to lib64
- add two more fixes: sat-solver and libzypp, with these two more fixes, i can build qemux86-64 core-image-sato and core-image-sato-sdk with libdir=/usr/lib64

Next step, I will do through test to make sure it does not impact normal libdir=/usr/lib case

The following changes since commit 2163461ec94528ecf046a04edc5db3d2dd3a6b8b:
Tom Zanussi (1):
systemtap: remove non-core COMPATIBLE_MACHINES

are available in the git repository at:

git://git.pokylinux.org/poky-contrib kyu3/libdir-fix-v2
http://git.pokylinux.org/cgit.cgi//log/?h=kyu3/libdir-fix-v2

Yu Ke (10):
native.bbclass: generate libdir from libdir_native
openssl: fix for non /usr/lib libdir case libc-package.bbclass: fix for non /usr/lib libdir case
python: fix for libdir=/usr/lib64 case
python-native: fix for non /usr/lib libdir case
perl: fix for non /usr/lib libdir case
libcap: fix for non /usr/lib libdir case
rpm: fix for non /usr/lib libdir case
sat-solver: fix for non /usr/lib libdir case
libzypp: fix for non /usr/lib libdir case

 meta/classes/cmake.bbclass                         |    4 +
 meta/classes/libc-package.bbclass                  |    4 +-
 meta/classes/native.bbclass                        |    2 +
 meta/recipes-connectivity/openssl/openssl.inc      |    2 +-
 .../recipes-connectivity/openssl/openssl_0.9.8r.bb |    2 +-
 meta/recipes-devtools/perl/perl_5.12.3.bb          |    3 +-
 ...2-distutils-prefix-is-inside-staging-area.patch |   15 +-
 .../recipes-devtools/python/python-native_2.6.6.bb |    2 +-
 meta/recipes-devtools/python/python/multilib.patch |  250 ++++++++++++++++++++
 meta/recipes-devtools/python/python_2.6.6.bb       |    3 +-
 meta/recipes-devtools/rpm/rpm_5.4.0.bb             |    3 +-
 .../libzypp/libzypp/hardcode-lib-fix.patch         |   22 ++
 meta/recipes-extended/libzypp/libzypp_git.bb       |    5 +-
 meta/recipes-extended/sat-solver/sat-solver_git.bb |    6 +-
 meta/recipes-support/libcap/libcap.inc             |    5 +-
 meta/recipes-support/libcap/libcap_2.20.bb         |    2 +-
 16 files changed, 311 insertions(+), 19 deletions(-)
 create mode 100644 meta/recipes-devtools/python/python/multilib.patch
 create mode 100644 meta/recipes-extended/libzypp/libzypp/hardcode-lib-fix.patch