From: Joshua Lock Date: Mon, 7 Jun 2010 15:10:48 +0000 (+0100) Subject: sanity.bbclass: version each of the files in the build/conf/ directory X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3c38bcfd075b340ee0effdbea17cafc7d005bb55;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- diff --git a/build/conf/bblayers.conf.sample b/build/conf/bblayers.conf.sample index 3ea6eda66a7..dff44e49c46 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 0ed70c6d790..060dca087cd 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"