All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [OE-core] Error with TEMPLATECONF value
       [not found] <1710BA34037FD8E9.1438@lists.openembedded.org>
@ 2022-09-01 12:11 ` Jacob Kroon
  2022-09-01 12:14   ` Alexander Kanavin
  0 siblings, 1 reply; 5+ messages in thread
From: Jacob Kroon @ 2022-09-01 12:11 UTC (permalink / raw)
  To: openembedded-core

On 9/1/22 13:49, Jacob Kroon via lists.openembedded.org wrote:
> Hi,
> 
> After updating to master branches I'm getting:
> 
>> 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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [OE-core] Error with TEMPLATECONF value
  2022-09-01 12:11 ` [OE-core] Error with TEMPLATECONF value Jacob Kroon
@ 2022-09-01 12:14   ` Alexander Kanavin
  2022-09-01 13:43     ` Richard Purdie
  0 siblings, 1 reply; 5+ messages in thread
From: Alexander Kanavin @ 2022-09-01 12:14 UTC (permalink / raw)
  To: Jacob Kroon; +Cc: OE-core

On Thu, 1 Sept 2022 at 14:11, Jacob Kroon <jacob.kroon@gmail.com> wrote:
>
> On 9/1/22 13:49, Jacob Kroon via lists.openembedded.org wrote:
> > Hi,
> >
> > After updating to master branches I'm getting:
> >
> >> 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.

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [OE-core] Error with TEMPLATECONF value
  2022-09-01 12:14   ` Alexander Kanavin
@ 2022-09-01 13:43     ` Richard Purdie
  2022-09-01 14:12       ` Alexander Kanavin
       [not found]       ` <1710C1FDC022CF5C.19509@lists.openembedded.org>
  0 siblings, 2 replies; 5+ messages in thread
From: Richard Purdie @ 2022-09-01 13:43 UTC (permalink / raw)
  To: Alexander Kanavin, Jacob Kroon; +Cc: OE-core

On Thu, 2022-09-01 at 14:14 +0200, Alexander Kanavin wrote:
> On Thu, 1 Sept 2022 at 14:11, Jacob Kroon <jacob.kroon@gmail.com> wrote:
> > 
> > On 9/1/22 13:49, Jacob Kroon via lists.openembedded.org wrote:
> > > Hi,
> > > 
> > > After updating to master branches I'm getting:
> > > 
> > > > 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.
> 
> 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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [OE-core] Error with TEMPLATECONF value
  2022-09-01 13:43     ` Richard Purdie
@ 2022-09-01 14:12       ` Alexander Kanavin
       [not found]       ` <1710C1FDC022CF5C.19509@lists.openembedded.org>
  1 sibling, 0 replies; 5+ messages in thread
From: Alexander Kanavin @ 2022-09-01 14:12 UTC (permalink / raw)
  To: Richard Purdie; +Cc: Jacob Kroon, OE-core

On Thu, 1 Sept 2022 at 15:43, Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
> 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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [OE-core] Error with TEMPLATECONF value
       [not found]       ` <1710C1FDC022CF5C.19509@lists.openembedded.org>
@ 2022-09-01 14:24         ` Alexander Kanavin
  0 siblings, 0 replies; 5+ messages in thread
From: Alexander Kanavin @ 2022-09-01 14:24 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: Richard Purdie, Jacob Kroon, OE-core

On Thu, 1 Sept 2022 at 16:12, Alexander Kanavin via
lists.openembedded.org <alex.kanavin=gmail.com@lists.openembedded.org>
wrote:
> > 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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-09-01 14:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1710BA34037FD8E9.1438@lists.openembedded.org>
2022-09-01 12:11 ` [OE-core] Error with TEMPLATECONF value Jacob Kroon
2022-09-01 12:14   ` Alexander Kanavin
2022-09-01 13:43     ` Richard Purdie
2022-09-01 14:12       ` Alexander Kanavin
     [not found]       ` <1710C1FDC022CF5C.19509@lists.openembedded.org>
2022-09-01 14:24         ` Alexander Kanavin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.