From c4a0b5463d1fe7cbc605ae95e00d53cbc14903c2 Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Mon, 7 Jun 2010 16:10:48 +0100 Subject: 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 --- build/conf/bblayers.conf.sample | 4 ++++ build/conf/site.conf.sample | 3 +++ 2 files changed, 7 insertions(+) (limited to 'build') diff --git a/build/conf/bblayers.conf.sample b/build/conf/bblayers.conf.sample index 3ea6eda66..dff44e49c 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 0ed70c6d7..060dca087 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" -- cgit v1.2.3