From 3c38bcfd075b340ee0effdbea17cafc7d005bb55 Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Mon, 7 Jun 2010 16:10:48 +0100 Subject: [PATCH] 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(+) 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" -- 2.47.3