|
@@ -70,6 +70,12 @@ python oecore_update_bblayers() {
|
|
|
sanity_conf_update(bblayers_fn, lines, 'LCONF_VERSION', current_lconf)
|
|
|
return
|
|
|
|
|
|
+ elif current_lconf == 5 and lconf_version > 5:
|
|
|
+ # Null update, to avoid issues with people switching between poky and other distros
|
|
|
+ current_lconf = 6
|
|
|
+ sanity_conf_update(bblayers_fn, lines, 'LCONF_VERSION', current_lconf)
|
|
|
+ return
|
|
|
+
|
|
|
sys.exit()
|
|
|
}
|
|
|
|
|
@@ -470,7 +476,6 @@ def sanity_check_conffiles(status, d):
|
|
|
if success:
|
|
|
bb.note("Your conf/bblayers.conf has been automatically updated.")
|
|
|
status.reparse = True
|
|
|
- break
|
|
|
if not status.reparse:
|
|
|
status.addresult("Your version of bblayers.conf has the wrong LCONF_VERSION (has %s, expecting %s).\nPlease compare the your file against bblayers.conf.sample and merge any changes before continuing.\n\"meld conf/bblayers.conf ${COREBASE}/meta*/conf/bblayers.conf.sample\" is a good way to visualise the changes.\n" % (current_lconf, lconf_version))
|
|
|
|