mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
meta/conf: move default configuration templates into meta/conf/templates/default
This sets the ground for standardizing (and enforcing) the location of configuration templates: let's start with the default one. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
44311c454d
commit
d369a45ae7
@@ -42,7 +42,7 @@ BBLAYERS_CONF_UPDATE_FUNCS += " \
|
||||
|
||||
SANITY_DIFF_TOOL ?= "meld"
|
||||
|
||||
SANITY_LOCALCONF_SAMPLE ?= "${COREBASE}/meta*/conf/local.conf.sample"
|
||||
SANITY_LOCALCONF_SAMPLE ?= "${COREBASE}/meta*/conf/templates/default/local.conf.sample"
|
||||
python oecore_update_localconf() {
|
||||
# Check we are using a valid local.conf
|
||||
current_conf = d.getVar('CONF_VERSION')
|
||||
@@ -62,7 +62,7 @@ is a good way to visualise the changes."""
|
||||
raise NotImplementedError(failmsg)
|
||||
}
|
||||
|
||||
SANITY_SITECONF_SAMPLE ?= "${COREBASE}/meta*/conf/site.conf.sample"
|
||||
SANITY_SITECONF_SAMPLE ?= "${COREBASE}/meta*/conf/templates/default/site.conf.sample"
|
||||
python oecore_update_siteconf() {
|
||||
# If we have a site.conf, check it's valid
|
||||
current_sconf = d.getVar('SCONF_VERSION')
|
||||
@@ -82,7 +82,7 @@ is a good way to visualise the changes."""
|
||||
raise NotImplementedError(failmsg)
|
||||
}
|
||||
|
||||
SANITY_BBLAYERCONF_SAMPLE ?= "${COREBASE}/meta*/conf/bblayers.conf.sample"
|
||||
SANITY_BBLAYERCONF_SAMPLE ?= "${COREBASE}/meta*/conf/templates/default/bblayers.conf.sample"
|
||||
python oecore_update_bblayers() {
|
||||
# bblayers.conf is out of date, so see if we can resolve that
|
||||
|
||||
|
||||
Reference in New Issue
Block a user