summaryrefslogtreecommitdiffstats
path: root/meta/classes/sanity.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-04-21 00:11:13 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-04-21 00:29:32 +0100
commit949645e577d68c1e11b53e82df0459629bf4bddd (patch)
treea96c911fe8c351b4f14f0aa729a42b037ebb2164 /meta/classes/sanity.bbclass
parent6af27de9363dbab8a96a29aeb4e87b8e40099f5d (diff)
downloadpoky-949645e577d68c1e11b53e82df0459629bf4bddd.tar.gz
sanity.conf: Rename POKY_CONF_VERSION -> LOCALCONF_VERSION and make sanity versions weak assignment allowing the distro to override
(From OE-Core rev: 9a5a783fb131aef98540a81ea6697031a7a429e0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/sanity.bbclass')
-rw-r--r--meta/classes/sanity.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 2f3357bf74..d1770e2f68 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -116,7 +116,7 @@ def check_sanity(e):
116 116
117 # Check we are using a valid lacal.conf 117 # Check we are using a valid lacal.conf
118 current_conf = data.getVar('CONF_VERSION', e.data, True) 118 current_conf = data.getVar('CONF_VERSION', e.data, True)
119 conf_version = data.getVar('POKY_CONF_VERSION', e.data, True) 119 conf_version = data.getVar('LOCALCONF_VERSION', e.data, True)
120 120
121 if current_conf != conf_version: 121 if current_conf != conf_version:
122 messages = messages + "Poky has noticed your version of local.conf was generated from an older version of local.conf.sample and there have been updates made to this file. Please compare the two files and merge any changes before continuing.\nMatching the version numbers will remove this message.\n\"meld conf/local.conf conf/local.conf.sample\" is a good way to visualise the changes.\n" 122 messages = messages + "Poky has noticed your version of local.conf was generated from an older version of local.conf.sample and there have been updates made to this file. Please compare the two files and merge any changes before continuing.\nMatching the version numbers will remove this message.\n\"meld conf/local.conf conf/local.conf.sample\" is a good way to visualise the changes.\n"