diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/sanity.bbclass | 2 | ||||
-rw-r--r-- | meta/conf/sanity.conf | 8 |
2 files changed, 5 insertions, 5 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" |
diff --git a/meta/conf/sanity.conf b/meta/conf/sanity.conf index fcaed11951..2ac1735d50 100644 --- a/meta/conf/sanity.conf +++ b/meta/conf/sanity.conf | |||
@@ -7,10 +7,10 @@ BB_MIN_VERSION = "1.8.10" | |||
7 | 7 | ||
8 | SANITY_ABIFILE = "${TMPDIR}/abi_version" | 8 | SANITY_ABIFILE = "${TMPDIR}/abi_version" |
9 | 9 | ||
10 | SANITY_VERSION = "1" | 10 | SANITY_VERSION ?= "1" |
11 | POKY_CONF_VERSION = "1" | 11 | LOCALCONF_VERSION ?= "1" |
12 | LAYER_CONF_VERSION = "4" | 12 | LAYER_CONF_VERSION ?= "4" |
13 | SITE_CONF_VERSION = "1" | 13 | SITE_CONF_VERSION ?= "1" |
14 | 14 | ||
15 | INHERIT += "sanity" | 15 | INHERIT += "sanity" |
16 | 16 | ||