[yocto] Need to add TEMPLATECONF in Custom layer.

2024-06-04 Thread Saswati Nayak
Hello All, I want to add a custom templateconf in my build directory. Can anyone help me how to create Templateconf from our local source so that it will point in the build/conf/templateconf.cfg . Thanks & Regards Saswati -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group

Re: [yocto] Need to add TEMPLATECONF in Custom layer.

2024-06-04 Thread Alexander Kanavin
If your yocto version is recent enough, use 'bitbake-layers save-build-conf' to save build/conf/ as a template. In older versions you need to do what it does by hand. To set up a build from template, use oe-setup-build (from scarthgap onwards) or TEMPLATECONF= . oe-init-build-env in older version

Re: [yocto] Need to add TEMPLATECONF in Custom layer.

2024-06-05 Thread Saswati Nayak
Hello Alexander, Can you help me with the example? As I am using the Kirkstone version of yocto, I am not able to get a proper idea how to set. Do we need to export the TEMPLATECONF? Thanks & Regards Saswati On Tue, Jun 4, 2024 at 3:54 PM Alexander Kanavin wrote: > If your yocto version is re

Re: [yocto] Need to add TEMPLATECONF in Custom layer.

2024-06-05 Thread Alexander Kanavin
TEMPLATECONF needs to be set only when you execute oe-init-build-env to initialize the build. You don't need to permanently export it to the environment, and can simply put it as a prefix to the command: TEMPLATECONF=/path/to/config/template/in/some/meta-layer/ . /path/to/oe-init-build-env /path/t

Re: [yocto] Need to add TEMPLATECONF in Custom layer.

2024-06-05 Thread Saswati Nayak
Thanks for the explanation Alexander. Thanks & Regards Saswati On Wed, Jun 5, 2024 at 4:23 PM Alexander Kanavin wrote: > TEMPLATECONF needs to be set only when you execute oe-init-build-env > to initialize the build. You don't need to permanently export it to > the environment, and can simply p