fix(templates): move templates directory under meta-belden-coreos

OpenEmbedded now include a checks that the template directory is
inside a subdirectory of the conf/templates directory of a layer.

This prevent the build from failing with "Error: TEMPLATECONF
value (which is coreos/templates) must point to
meta-some-layer/conf/templates/template-name" when sourcing
coreos-init-buildenv with OE-Core Master.
This commit is contained in:
Sam Dolt 2023-11-13 15:35:36 +01:00
parent 62d9a20759
commit 76cda32940
4 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ COREOS_ROOT=$(readlink -f "${COREOS_ROOT}")
# All theses values can be overriden by the caller of coreos-init-build-env
BITBAKEDIR="${BITBAKEDIR:-${COREOS_ROOT}/bitbake}"
OEROOT="${OEROOT:-${COREOS_ROOT}/external-layers/openembedded-core}"
TEMPLATECONF="${TEMPLATECONF:-${COREOS_ROOT}/templates}"
TEMPLATECONF="${TEMPLATECONF:-${COREOS_ROOT}/layers/meta-belden-coreos/conf/templates/default}"
# Sanity checks
# ------------------------------------------------------------------------------