]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
sanity.bbclass: version each of the files in the build/conf/ directory
authorJoshua Lock <josh@linux.intel.com>
Mon, 7 Jun 2010 15:10:48 +0000 (16:10 +0100)
committerJoshua Lock <josh@linux.intel.com>
Mon, 7 Jun 2010 15:16:35 +0000 (16:16 +0100)
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>
build/conf/bblayers.conf.sample
build/conf/site.conf.sample

index 3ea6eda66a7578d3c32a78839cfcc8c7ed7ae3fa..dff44e49c46f577ed248666f50a5dd27d45a0707 100644 (file)
@@ -1,3 +1,7 @@
+# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf
+# changes incompatibly
+LCONF_VERSION = "1"
+
 BBFILES ?= ""
 BBLAYERS = " \
   ${OEROOT}/meta \
index 0ed70c6d790f775b330ad02201f1ba67215688e6..060dca087cd1f54877323a8e2f5fbe387169c60f 100644 (file)
@@ -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"