meta: move meta-tegrademo config file templates

The OE-core setup script now "validates" that config templates
are in a "good" place, so we have to move our templates to
conf/templates/<distro> instead of conf/template-<distro>,
and we have to update our .templateconf accordingly.

Signed-off-by: Matt Madison <matt@madison.systems>
This commit is contained in:
Matt Madison
2022-09-05 13:03:10 -07:00
committed by Matt Madison
parent c89efd2a85
commit 09889a982c
5 changed files with 3 additions and 3 deletions

View File

@@ -62,8 +62,8 @@ if [ -d layers/meta-tegrademo ]; then
rm -rf ${LAYER_DIR}/recipes-*
# Adjust the data in templates
mv ${LAYER_DIR}/conf/template-tegrademo ${LAYER_DIR}/conf/template-${DISTRO_NAME}
rm -rf ${LAYER_DIR}/conf/template-tegrademo
mv ${LAYER_DIR}/conf/templates/tegrademo ${LAYER_DIR}/conf/templates/${DISTRO_NAME}
rm -rf ${LAYER_DIR}/conf/templates/tegrademo
# Adjust the data in conf/distro
cat ${LAYER_DIR}/conf/distro/tegrademo.conf > ${LAYER_DIR}/conf/distro/${DISTRO_NAME}.conf