Skip to contentSkip to conversation

Error with TEMPLATECONF value

OE-core Jacob Kroon 3 participants 5 messages Sep 1, 2022 2 messages not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 8 lines · Jacob Kroon via lists.openembedded.org

Hi,

After updating to master branches I'm getting:

Quoted 1 line

Error: TEMPLATECONF value (which is /home/jkroon/Projects/codab-linux/openembedded-core/meta/conf) must point to meta-some-layer/conf/templates/template-name

What is the proper solution to this ?

After wiping build/conf/* and rerunning bitbake the problem seems to have resolved itself.

Jacob

#2 lore raw
Quoted 10 lines · Jacob Kroon
Quoted 8 lines · Jacob Kroon via lists.openembedded.org

Hi,

After updating to master branches I'm getting:

Quoted 3 lines

Error: TEMPLATECONF value (which is /home/jkroon/Projects/codab-linux/openembedded-core/meta/conf) must point to meta-some-layer/conf/templates/template-name

Quoted 5 lines
Quoted 2 lines

What is the proper solution to this ?

After wiping build/conf/* and rerunning bitbake the problem seems to have resolved itself.

You can also adjust build/conf/templateconf.cfg without wiping, just append /templates/default to what is in there. I have moved the default templates to meta[-poky]/conf/templates/default/ and added a check that enforces the location. This does break existing builds.

Alex

#3 lore raw
Quoted 14 lines · Alexander Kanavin
Quoted 13 lines · Jacob Kroon
Quoted 10 lines · Jacob Kroon via lists.openembedded.org

Hi,

After updating to master branches I'm getting:

Quoted 3 lines

Error: TEMPLATECONF value (which is /home/jkroon/Projects/codab-linux/openembedded-core/meta/conf) must point to meta-some-layer/conf/templates/template-name

What is the proper solution to this ?

Quoted 7 lines
Quoted 2 lines

After wiping build/conf/* and rerunning bitbake the problem seems to have resolved itself.

You can also adjust build/conf/templateconf.cfg without wiping, just append /templates/default to what is in there. I have moved the default templates to meta[-poky]/conf/templates/default/ and added a check that enforces the location. This does break existing builds.

Ideally, the checks in sanity.bbclass would migrate existing builds for this issue...

Cheers,

Richard

#4 lore raw
Quoted 2 lines · Richard Purdie

Ideally, the checks in sanity.bbclass would migrate existing builds for this issue...

The check and the error is in oe-init-build-env, so cannot be fixed by anything in meta/. But I think I can add a special case for the 'old' values to the script.

Alex

#6 lore raw
In reply to a message not in the archive
Quoted 6 lines · Alexander Kanavin via lists.openembedded.org
Quoted 2 lines

Ideally, the checks in sanity.bbclass would migrate existing builds for this issue...

The check and the error is in oe-init-build-env, so cannot be fixed by anything in meta/. But I think I can add a special case for the 'old' values to the script.

Patch sent.

Alex