From 4e85129a7d47baf3e32b815cbc277bff84e085a0 Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Wed, 24 Jul 2013 17:26:08 +0100 Subject: 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 Signed-off-by: Saul Wold --- meta/conf/bitbake.conf | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta/conf') 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" SERIAL_CONSOLE ??= "" SERIAL_CONSOLES ??= "${@d.getVar('SERIAL_CONSOLE', True).replace(' ', ';')}" +BAD_RECOMMENDATIONS ?= "" + # Make sure MACHINE isn't exported # (breaks binutils at least) MACHINE[unexport] = "1" -- cgit 1.2.3-korg