]> code.ossystems Code Review - openembedded-core.git/commit
classes/rootfs_rpm: implement BAD_RECOMMENDATIONS for RPM
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 24 Jul 2013 16:26:08 +0000 (17:26 +0100)
committerSaul Wold <sgw@linux.intel.com>
Sun, 28 Jul 2013 06:28:29 +0000 (23:28 -0700)
commit4e85129a7d47baf3e32b815cbc277bff84e085a0
tree61dd3c16f1461eab026f8eba541d7613c2be7b5a
parentaea9d379ea217c78b64a81853ec3744188158008
classes/rootfs_rpm: implement BAD_RECOMMENDATIONS for RPM

Add support for the BAD_RECOMMENDATIONS variable that can be used to
prevent specific packages from being installed via an RRECOMMENDS
relationship when using the RPM backend. (Previously this
functionality was only available when using ipk packaging.)

In the process this moves the defaulting of BAD_RECOMMENDATIONS (as
empty) to bitbake.conf since it is no longer specific to the ipk
backend, as well as unifying some of the code that creates the
configuration for smart for use on the host and target.

Fixes [YOCTO #3916].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/classes/package_rpm.bbclass
meta/classes/rootfs_ipk.bbclass
meta/classes/rootfs_rpm.bbclass
meta/conf/bitbake.conf