]> code.ossystems Code Review - openembedded-core.git/commit
nativesdk/sdk: Update sdk dummy providers
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 9 Jan 2018 11:20:31 +0000 (11:20 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 10 Jan 2018 22:14:52 +0000 (22:14 +0000)
commit9d490dc01dcedb216129b22cbe17a6c99efc4f5c
tree88826cf0a465900d63419d7ee8de6bccf08ac28f
parentfc08972688d784f561c8be88d3100d6baaf22070
nativesdk/sdk: Update sdk dummy providers

When we migrated rpm v5 -> v4, we lost the ability to drop "per file"
dependencies from the rpm backend for things like "/bin/bash" and
"/usr/bin/env" which meant the sdks were becomming 'bloated'.

This restores the functionality using a dummy package, similarly to
the way the buildtools perl issue was addressed. It also removes
the non-functional old code so as not to confuse people in future.

I ran into this problem trying to filter dependencies to only rpms
a build directly depends upon and it turns out we have some determinism issues
in this area so this is something key to fix.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/populate_sdk_base.bbclass
meta/classes/sstate.bbclass
meta/lib/oe/package_manager.py
meta/lib/oe/sdk.py
meta/recipes-core/meta/dummy-sdk-package.inc [new file with mode: 0644]
meta/recipes-core/meta/nativesdk-buildtools-perl-dummy.bb
meta/recipes-core/meta/nativesdk-sdk-provides-dummy.bb [new file with mode: 0644]
meta/recipes-core/meta/target-sdk-provides-dummy.bb [new file with mode: 0644]
meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb