generic-poky/meta
Paul Eggleton fa5640d143 Rework installation of dev, dbg, doc, and locale packages
Use a similar mechanism that was previously used to install locales at
rootfs generation time to install other "complementary" packages (e.g.
*-dev packages) - i.e. install all of the explicitly requested packages
and their dependencies, then get a list of the packages that were
installed, and use that list to install the complementary packages. This
has been implemented by using a list of globs which should make it
easier to extend in future.

The previous locale package installation code assumed that the locale
packages did not have any dependencies that were not already installed;
now that we are installing non-locale packages this is no longer
correct. In practice only the rpm backend actually made use of this
assumption, so it needed to be changed to call into the existing package
backend code to do the complementary package installation rather than
calling rpm directly.

This fixes the doc-pkgs IMAGE_FEATURES feature to work correctly, and
also ensures that all dev/dbg packages get installed for
dev-pkgs/dbg-pkgs respectively even if the dependency chains between
those packages was not ensuring that already.

The code has also been adapted to work correctly with the new
SDK-from-image functionality. To that end, an SDKIMAGE_FEATURES variable
has been added to allow specifying what extra image features should go
into the SDK (extra, because by virtue of installing all of the packages
in the image into the target part of the SDK, we already include all of
IMAGE_FEATURES) with a default value of "dev-pkgs dbg-pkgs".

Fixes [YOCTO #2614].

(From OE-Core rev: 72d1048a8381fa4a8c4c0d082047536727b4be47)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-29 10:16:14 +01:00
..
classes Rework installation of dev, dbg, doc, and locale packages 2012-07-29 10:16:14 +01:00
conf gobject-introspection: Drop the recipe, it has never worked and if it does cross compile, we can add it back 2012-07-28 09:20:53 +01:00
files common-license: Add ICU generic 2012-03-25 12:23:39 +01:00
lib/oe lib/oe/lsb: Add basic LSB functions 2012-07-28 09:20:52 +01:00
recipes-bsp u-boot.inc: update linker arguments to pass --sysroot arg 2012-07-28 09:20:52 +01:00
recipes-connectivity polkit/vte/gupnp/gssdp: Replace introspection hacks with gobject-introspection-stub 2012-07-28 09:20:54 +01:00
recipes-core package.bbclass/eglibc-locale: Ensure the correct PN is used for locale packages 2012-07-28 09:20:53 +01:00
recipes-devtools classes/rootfs_rpm: improve speed of RPM rootfs construction 2012-07-29 10:16:14 +01:00
recipes-extended polkit/vte/gupnp/gssdp: Replace introspection hacks with gobject-introspection-stub 2012-07-28 09:20:54 +01:00
recipes-gnome gconf: Clean up introspection disabling by using gobject-introspection-stub 2012-07-28 09:20:54 +01:00
recipes-graphics xinit_1.3.2: Remove broken, superfluous 'FILES_${PN} += "${libdir}X11/xinit"' 2012-07-26 14:40:48 +01:00
recipes-kernel linux-yocto/rt: update BSP preempt-rt.scc files to enable live boot 2012-07-26 14:55:21 +01:00
recipes-multimedia libcanberra: upgrade to 0.29 2012-07-19 17:18:11 +01:00
recipes-qt qmmp: update 0.6.1 2012-07-26 14:55:19 +01:00
recipes-rt core-image-*.bb: Remove usage of EXTRA_IMAGE_FEATURES from some .bb files 2012-07-10 14:21:58 +01:00
recipes-sato eds-tools: Drop this recipe, its inapproriate in OE-Core 2012-07-28 09:20:53 +01:00
recipes-support polkit/vte/gupnp/gssdp: Replace introspection hacks with gobject-introspection-stub 2012-07-28 09:20:54 +01:00
site site/common-linux: fix incorrect size of pid_t for apr 2012-07-02 16:47:44 +01:00
COPYING.MIT Add missing licence files (COPYING.MIT) 2006-07-23 13:52:32 +00:00
recipes.txt recipes.txt: Add entries for "recipes-rt" and "recipes-support" 2012-07-09 16:58:56 +01:00