[OE-core] [PATCH 0/4][RFC] Change libexecdir to ${prefix}/libexec

Ross Burton ross.burton at intel.com
Tue Dec 2 15:53:22 UTC 2014


Hi,

First, this is VERY MUCH A RFC!

There's numerous problems with setting ${libexecdir} to ${libdir}/${BPN}, but
the a easy argument in my opinion is that nobody else does this.

The Debian world sets libexecdir to ${exec_prefix}/lib, and the Red Hat world
uses ${exec_prefix}/libexec.  The FHS says either are fine.  Nobody puts the
package name into the definition of libexecdir, as automake provides
pkglibexecdir ($libexec/$package) for package-specific binaries.

This branch changes bitbake.conf to use ${exec_prefix}/libexec and a few patches
to fix (or hack around) any problems this has revealed so far.

Comments and testing (especially with other layers, and multilib configurations)
much appreciated.

Ross

The following changes since commit b8631416f12b8a904ce3deb036f9d5ce632937b0:

  package_regex.inc: Update REGEX'es in order to find upstream versions correctly (2014-11-28 14:03:02 +0000)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib ross/libexec

for you to fetch changes up to ed5b853fc4626afabcad8171f478893d5fb438f5:

  bitbake: set libexecdir to prefix/libexec (2014-12-02 15:43:36 +0000)

----------------------------------------------------------------
Ross Burton (4):
      eglibc: WIP fix paths for libexec
      neard: remove libexec hacks
      weston: fix plugin location in FILES
      bitbake: set libexecdir to prefix/libexec

 meta/conf/bitbake.conf                                 |    4 ++--
 meta/recipes-connectivity/neard/neard.inc              |   10 +++-------
 meta/recipes-connectivity/neard/neard/neard.in         |    2 +-
 meta/recipes-connectivity/neard/neard/neard.service.in |    2 +-
 meta/recipes-core/glibc/glibc-package.inc              |    2 +-
 meta/recipes-graphics/wayland/weston_1.6.0.bb          |    2 +-
 6 files changed, 9 insertions(+), 13 deletions(-)

Ross Burton (4):
  eglibc: WIP fix paths for libexec
  neard: remove libexec hacks
  weston: fix plugin location in FILES
  bitbake: set libexecdir to prefix/libexec

 meta/conf/bitbake.conf                                 |    4 ++--
 meta/recipes-connectivity/neard/neard.inc              |   10 +++-------
 meta/recipes-connectivity/neard/neard/neard.in         |    2 +-
 meta/recipes-connectivity/neard/neard/neard.service.in |    2 +-
 meta/recipes-core/glibc/glibc-package.inc              |    2 +-
 meta/recipes-graphics/wayland/weston_1.6.0.bb          |    2 +-
 6 files changed, 9 insertions(+), 13 deletions(-)

-- 
1.7.10.4




More information about the Openembedded-core mailing list