aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2015-02-19 22:23:18 -0500
committerBruce Ashfield <bruce.ashfield@windriver.com>2015-05-21 14:46:36 -0400
commit73b4417dd0d5d1675be90ee5882c16405f789259 (patch)
treec39a243ec9c3d237548c0e614166c270a5be9cb8
parent8106f692daf771d665f4f4cc275f0221c1527210 (diff)
downloadmeta-cloud-services-73b4417dd0d5d1675be90ee5882c16405f789259.tar.gz
meta-cloud-services-73b4417dd0d5d1675be90ee5882c16405f789259.tar.bz2
meta-cloud-services-73b4417dd0d5d1675be90ee5882c16405f789259.zip
chef: make deploychef dependencies a distro feature
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
-rw-r--r--meta-openstack/classes/openstackchef_inc.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-openstack/classes/openstackchef_inc.bbclass b/meta-openstack/classes/openstackchef_inc.bbclass
index 7795082..9574008 100644
--- a/meta-openstack/classes/openstackchef_inc.bbclass
+++ b/meta-openstack/classes/openstackchef_inc.bbclass
@@ -50,8 +50,8 @@ ERB_DEFAULT_SUFFIX="]"
TEMPLATE_EXTENSION='.erb'
#Build deploychef package since this class has run-time and buil-time dependency
#on it
-DEPENDS_${PN} += "deploychef"
-RDEPENDS_${PN} += "deploychef"
+DEPENDS_${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'chef', 'deploychef', '', d)}"
+RDEPENDS_${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'chef', 'deploychef', '', d)}"
CHEF_VERSION = '1'
#For classes that define a special substitution function, this variable is
#set by this class and specifies the file named passed back to these function