diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2013-07-24 17:26:08 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-07-29 13:09:15 +0100 |
commit | f629afe1539c053cfdfb552f7623780567cc6b16 (patch) | |
tree | 8343bac8f0e4b51b99608de7f9271959b78cdcc6 /meta/conf/bitbake.conf | |
parent | face212d60b03c7a615c5b09fb6ca2e11de7c7d0 (diff) | |
download | poky-f629afe1539c053cfdfb552f7623780567cc6b16.tar.gz |
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>
Diffstat (limited to 'meta/conf/bitbake.conf')
-rw-r--r-- | meta/conf/bitbake.conf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 62a3936744..07eb473190 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -753,6 +753,8 @@ COMBINED_FEATURES[vardeps] += "DISTRO_FEATURES MACHINE_FEATURES" | |||
753 | SERIAL_CONSOLE ??= "" | 753 | SERIAL_CONSOLE ??= "" |
754 | SERIAL_CONSOLES ??= "${@d.getVar('SERIAL_CONSOLE', True).replace(' ', ';')}" | 754 | SERIAL_CONSOLES ??= "${@d.getVar('SERIAL_CONSOLE', True).replace(' ', ';')}" |
755 | 755 | ||
756 | BAD_RECOMMENDATIONS ?= "" | ||
757 | |||
756 | # Make sure MACHINE isn't exported | 758 | # Make sure MACHINE isn't exported |
757 | # (breaks binutils at least) | 759 | # (breaks binutils at least) |
758 | MACHINE[unexport] = "1" | 760 | MACHINE[unexport] = "1" |