summaryrefslogtreecommitdiffstats
path: root/meta-openstack/conf
diff options
context:
space:
mode:
authorMingli Yu <Mingli.Yu@windriver.com>2018-10-11 11:50:17 +0800
committerBruce Ashfield <bruce.ashfield@windriver.com>2018-10-11 14:46:29 -0400
commit5b4e2a5ff9b36b6b244bfa0861bc8f8da16a832f (patch)
tree076a8876d939ad086670fe8f0e5c71e8216ec3c5 /meta-openstack/conf
parent64d636847a62f76ca8383e83fa4719180e80bacb (diff)
downloadmeta-cloud-services-5b4e2a5ff9b36b6b244bfa0861bc8f8da16a832f.tar.gz
sanity-meta-openstack.bbclass: add class for bbappend files checking
Add a new class sanity-meta-openstack.bbclass, to check whether necessary settings are available for bbappend files and preferred version setting in this layer to be effective and warn users if not. In addition, a variable SKIP_SANITY_META_OPENSTACK_CHECK is added to enable users to explicitly skip the checking to avoid unwanted warnings. Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack/conf')
-rw-r--r--meta-openstack/conf/layer.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-openstack/conf/layer.conf b/meta-openstack/conf/layer.conf
index 4ce6ea7..9ca806e 100644
--- a/meta-openstack/conf/layer.conf
+++ b/meta-openstack/conf/layer.conf
@@ -35,4 +35,8 @@ PREFERRED_VERSION_python-jsonschema = "2.6.0"
35PREFERRED_VERSION_python-networkx = "1.11" 35PREFERRED_VERSION_python-networkx = "1.11"
36PREFERRED_VERSION_python-oslo.i18n = "3.17.0+gitAUTOINC+f2729cd36f" 36PREFERRED_VERSION_python-oslo.i18n = "3.17.0+gitAUTOINC+f2729cd36f"
37 37
38# Sanity check for meta-openstack layer.
39# Setting SKIP_META_OPENSTACK_SANITY_CHECK to "1" would skip the bbappend files check.
40INHERIT += "sanity-meta-openstack"
41
38LICENSE_PATH += "${LAYERDIR}/licenses" 42LICENSE_PATH += "${LAYERDIR}/licenses"