generic-poky/meta/conf
Richard Purdie 8ebe7be3d9 bitbake.conf/package: Collapse PKGDATA_DIR into a single machine specific directory
Currently we have a hierarchy of pkgdata directories and the code has to put together
a search path and look through each in turn until it finds the data it needs.

This has lead to a number of hardcoded paths and file globing which
is unpredictable and undesirable. Worse, certain tricks that should be
easy like a GL specific package architecture become problematic with the
curretn search paths.

With the modern sstate code, we can do better and construct a single pkgdata
directory for each machine in just the same way as we do for the sysroot. This
is already tried and well tested. With such a single directory, all the code that
iterated through multiple pkgdata directories and simply be removed and give
a significant simplification of the code. Even existing build directories adapt
to the change well since the package contents doesn't change, just the location
they're installed to and the stamp for them.

The only complication is the we need a different shlibs directory for each
multilib. These are only used by package.bbclass and the simple fix is to
add MLPREFIX to the shlib directory name. This means the multilib packages will
repackage and the sstate checksum will change but an existing build directory
will adapt to the changes safely.

It is close to release however I believe the benefits this patch give us
are worth consideration for inclusion and give us more options for dealing
with problems like the GL one. It also sets the ground work well for
shlibs improvements in 1.6.

(From OE-Core rev: 1b8e4abd2d9c0901d38d89d0f944fe1ffd019379)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-14 08:21:00 +01:00
..
distro meta: Don't use deprecated bitbake API 2013-09-01 15:51:42 +01:00
machine ia32-base: only depend on GL if opengl DISTRO_FEATURE enabled 2013-09-11 23:31:00 +01:00
machine-sdk eglibc/machine-sdk: Drop SDK_GLIBC_ADDONS 2013-05-09 22:28:04 +01:00
swabber Stop using hardcoded paths, use new Ubuntu and generic filters. 2010-12-17 10:47:02 +00:00
abi_version.conf bitbake.conf/sanity: Separate versions and PN stamp components into separate directories for WORKDIR and STAMP 2012-11-20 15:31:49 +00:00
bitbake.conf bitbake.conf/package: Collapse PKGDATA_DIR into a single machine specific directory 2013-09-14 08:21:00 +01:00
conf-notes.txt oe-setup-builddir: Possibility to customize text. 2013-03-29 10:40:55 +00:00
documentation.conf package_rpm.bbclass: NO_RECOMMENDATIONS support 2013-08-22 18:30:00 +01:00
layer.conf layer.conf: Version bump for DEPLOY_DIR layout change 2013-09-14 08:21:00 +01:00
licenses.conf SPDX:real-time license scanning and SPDX output. 2013-08-26 13:19:41 +01:00
migrate_localcount.conf prserv: add LOCALCOUNT to AUTOINCs migration feature 2013-01-22 16:01:32 +00:00
multilib.conf bitbake.conf/package: Collapse PKGDATA_DIR into a single machine specific directory 2013-09-14 08:21:00 +01:00
prexport.conf meta/PRService: Added export/import fuctions. 2012-01-11 10:37:43 +00:00
primport.conf meta/PRService: Added export/import fuctions. 2012-01-11 10:37:43 +00:00
sanity.conf sanity.conf: Update minimum bitbake version requirement to 1.19.1 for bitbake-worker 2013-06-14 12:53:52 +01:00