On Tue, 10 Feb 2026 at 00:30, Logan Gallois <[email protected]> wrote:
>
> When using the new bitbake-setup tool, an oe-template created in a
> custom layer was ignored because the TEMPLATECONF variable was not passed to 
> the source file.
>
> Signed-off-by: Logan Gallois <[email protected]>
> ---
>  scripts/oe-setup-build | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/oe-setup-build b/scripts/oe-setup-build
> index b391f3b9254..ab543506451 100755
> --- a/scripts/oe-setup-build
> +++ b/scripts/oe-setup-build
> @@ -101,7 +101,7 @@ def setup_build_env(args):
>              f.write(cmd_base)
>      print("\nRun '. {}' to initialize the build in a current shell 
> session.\n".format(initbuild))
>
> -    cmd = "TEMPLATECONF={} {}".format(template["templatepath"], cmd_base)
> +    cmd = "TEMPLATECONF={}\n{}".format(template["templatepath"], cmd_base)

Thanks, I took a proper look, and yes the issue is real and the patch
is correct. Can you adjust the commit message?

Something like:

Since a recent change to support dash, cmd_base is a set of several
commands, separated by newlines.
TEMPLATECONF was only effective for the first command in that set,
which is not where it's needed.
Putting it on its own line will ensure that it's present for
everything in cmd_base.

Alex
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#230870): 
https://lists.openembedded.org/g/openembedded-core/message/230870
Mute This Topic: https://lists.openembedded.org/mt/117729586/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to