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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 29 Jul 2013 12:09:15 +0000 (13:09 +0100)
commit76e05725b8f351b4563aa48b689c0cc30873fbd1
treeee94c147c5a8422f1fbcf8db8f810d6d01920f21
parentbe89e964b23819e4b101066145032a8112d591de
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].

(From OE-Core rev: 4e85129a7d47baf3e32b815cbc277bff84e085a0)

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