summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2010-06-07 16:10:48 +0100
committerJoshua Lock <josh@linux.intel.com>2010-06-07 16:16:35 +0100
commitc4a0b5463d1fe7cbc605ae95e00d53cbc14903c2 (patch)
treebeb233cae01ee5e7a15f8fe7c4d3ef5c9b33f183 /build
parentcab1009b08012cc292d9740cf6e3b0f09a29d74f (diff)
downloadopenembedded-core-c4a0b5463d1fe7cbc605ae95e00d53cbc14903c2.tar.gz
sanity.bbclass: version each of the files in the build/conf/ directory
We already have versioning of the local.conf file but it's entirely plausible for the bblayers.conf and site.conf to change incompatibly so we should version those too. Signed-off-by: Joshua Lock <josh@linux.intel.com>
Diffstat (limited to 'build')
-rw-r--r--build/conf/bblayers.conf.sample4
-rw-r--r--build/conf/site.conf.sample3
2 files changed, 7 insertions, 0 deletions
diff --git a/build/conf/bblayers.conf.sample b/build/conf/bblayers.conf.sample
index 3ea6eda66a..dff44e49c4 100644
--- a/build/conf/bblayers.conf.sample
+++ b/build/conf/bblayers.conf.sample
@@ -1,3 +1,7 @@
+# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf
+# changes incompatibly
+LCONF_VERSION = "1"
+
BBFILES ?= ""
BBLAYERS = " \
${OEROOT}/meta \
diff --git a/build/conf/site.conf.sample b/build/conf/site.conf.sample
index 0ed70c6d79..060dca087c 100644
--- a/build/conf/site.conf.sample
+++ b/build/conf/site.conf.sample
@@ -2,6 +2,9 @@
# local.conf covers user settings, site.conf covers site specific information
# such as proxy server addresses and optionally any shared download location
#
+# SITE_CONF_VERSION is increased each time build/conf/site.conf
+# changes incompatibly
+SCONF_VERSION = "1"
# Uncomment to cause CVS to use the proxy host specified
#CVS_PROXY_HOST = "proxy.example.com"