* [PATCH v2] oe-setup-build: fix TEMPLATECONF not being applied @ 2026-02-08 14:58 Logan Gallois 2026-02-09 12:50 ` [OE-core] " Alexander Kanavin 0 siblings, 1 reply; 16+ messages in thread From: Logan Gallois @ 2026-02-08 14:58 UTC (permalink / raw) To: openembedded-core From: Logan Gallois <logan.gallois@hexagon.com> When using the new bitbake-setup tool, an oe-template created in a custom layer was ignored because the TEMPLATECONF variable was not exported to the environment. Export TEMPLATECONF so that bitbake-setup correctly picks up templates provided by external layers. Signed-off-by: Logan Gallois <logan.gallois@hexagon.com> --- 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..0a3146fd503 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 = "export TEMPLATECONF={}\n{}".format(template["templatepath"], cmd_base) if not no_shell: cmd = cmd + " && {}".format(os.environ.get('SHELL','bash')) print("Running:", cmd) -- 2.43.0 ^ permalink raw reply related [flat|nested] 16+ messages in thread
* Re: [OE-core] [PATCH v2] oe-setup-build: fix TEMPLATECONF not being applied 2026-02-08 14:58 [PATCH v2] oe-setup-build: fix TEMPLATECONF not being applied Logan Gallois @ 2026-02-09 12:50 ` Alexander Kanavin 2026-02-09 22:44 ` [PATCH v3] oe-setup-build: TEMPLATECONF were not applied correctly Logan Gallois 0 siblings, 1 reply; 16+ messages in thread From: Alexander Kanavin @ 2026-02-09 12:50 UTC (permalink / raw) To: logan.gallois; +Cc: openembedded-core On Sun, 8 Feb 2026 at 20:12, Logan Gallois via lists.openembedded.org <logan.gallois=gmail.com@lists.openembedded.org> wrote: > When using the new bitbake-setup tool, an oe-template created in a > custom layer was ignored because the TEMPLATECONF variable was not > exported to the environment. > > Export TEMPLATECONF so that bitbake-setup correctly picks up templates > provided by external layers. > > Signed-off-by: Logan Gallois <logan.gallois@hexagon.com> > --- > 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..0a3146fd503 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 = "export TEMPLATECONF={}\n{}".format(template["templatepath"], cmd_base) I'm afraid the issue needs to be explained or demonstrated further. TEMPLATECONF is only used by cmd_base, and so is set as its prefix. So what else needs it in the shell environment? E.g. why TEMPLATECONF=... cmd_base does not work for you but export TEMPLATECONF= ... && cmd_base does? Alex ^ permalink raw reply [flat|nested] 16+ messages in thread
* [PATCH v3] oe-setup-build: TEMPLATECONF were not applied correctly 2026-02-09 12:50 ` [OE-core] " Alexander Kanavin @ 2026-02-09 22:44 ` Logan Gallois 2026-02-09 23:00 ` Patchtest results for " patchtest ` (3 more replies) 0 siblings, 4 replies; 16+ messages in thread From: Logan Gallois @ 2026-02-09 22:44 UTC (permalink / raw) To: alex.kanavin; +Cc: logan.gallois, openembedded-core --- 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) if not no_shell: cmd = cmd + " && {}".format(os.environ.get('SHELL','bash')) print("Running:", cmd) -- 2.43.0 ^ permalink raw reply related [flat|nested] 16+ messages in thread
* Patchtest results for [PATCH v3] oe-setup-build: TEMPLATECONF were not applied correctly 2026-02-09 22:44 ` [PATCH v3] oe-setup-build: TEMPLATECONF were not applied correctly Logan Gallois @ 2026-02-09 23:00 ` patchtest 2026-02-09 23:08 ` [PATCH v4] " Logan Gallois ` (2 subsequent siblings) 3 siblings, 0 replies; 16+ messages in thread From: patchtest @ 2026-02-09 23:00 UTC (permalink / raw) To: Logan Gallois; +Cc: openembedded-core [-- Attachment #1: Type: text/plain, Size: 2289 bytes --] Thank you for your submission. Patchtest identified one or more issues with the patch. Please see the log below for more information: --- Testing patch /home/patchtest/share/mboxes/v3-oe-setup-build-TEMPLATECONF-were-not-applied-correctly.patch FAIL: test Signed-off-by presence: Mbox is missing Signed-off-by. Add it manually or with "git commit --amend -s" (test_mbox.TestMbox.test_signed_off_by_presence) FAIL: test commit message presence: Please include a commit message on your patch explaining the change (test_mbox.TestMbox.test_commit_message_presence) PASS: test author valid (test_mbox.TestMbox.test_author_valid) PASS: test commit message user tags (test_mbox.TestMbox.test_commit_message_user_tags) PASS: test mbox format (test_mbox.TestMbox.test_mbox_format) PASS: test non-AUH upgrade (test_mbox.TestMbox.test_non_auh_upgrade) PASS: test shortlog format (test_mbox.TestMbox.test_shortlog_format) PASS: test shortlog length (test_mbox.TestMbox.test_shortlog_length) PASS: test target mailing list (test_mbox.TestMbox.test_target_mailing_list) SKIP: pretest pylint: No python related patches, skipping test (test_python_pylint.PyLint.pretest_pylint) SKIP: test CVE tag format: No new CVE patches introduced (test_patch.TestPatch.test_cve_tag_format) SKIP: test Signed-off-by presence: No new CVE patches introduced (test_patch.TestPatch.test_signed_off_by_presence) SKIP: test Upstream-Status presence: No new CVE patches introduced (test_patch.TestPatch.test_upstream_status_presence_format) SKIP: test bugzilla entry format: No bug ID found (test_mbox.TestMbox.test_bugzilla_entry_format) SKIP: test pylint: No python related patches, skipping test (test_python_pylint.PyLint.test_pylint) SKIP: test series merge on head: Merge test is disabled for now (test_mbox.TestMbox.test_series_merge_on_head) --- Please address the issues identified and submit a new revision of the patch, or alternatively, reply to this email with an explanation of why the patch should be accepted. If you believe these results are due to an error in patchtest, please submit a bug at https://bugzilla.yoctoproject.org/ (use the 'Patchtest' category under 'Yocto Project Subprojects'). For more information on specific failures, see: https://wiki.yoctoproject.org/wiki/Patchtest. Thank you! ^ permalink raw reply [flat|nested] 16+ messages in thread
* [PATCH v4] oe-setup-build: TEMPLATECONF were not applied correctly 2026-02-09 22:44 ` [PATCH v3] oe-setup-build: TEMPLATECONF were not applied correctly Logan Gallois 2026-02-09 23:00 ` Patchtest results for " patchtest @ 2026-02-09 23:08 ` Logan Gallois 2026-02-09 23:15 ` Patchtest results for " patchtest 2026-02-09 23:30 ` [PATCH v5] " Logan Gallois 2026-02-10 17:39 ` [PATCH v6] " Logan Gallois 3 siblings, 1 reply; 16+ messages in thread From: Logan Gallois @ 2026-02-09 23:08 UTC (permalink / raw) To: logan.gallois; +Cc: alex.kanavin, openembedded-core Signed-off-by: Logan Gallois <logan.gallois@gmail.com> --- 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) if not no_shell: cmd = cmd + " && {}".format(os.environ.get('SHELL','bash')) print("Running:", cmd) -- 2.43.0 ^ permalink raw reply related [flat|nested] 16+ messages in thread
* Patchtest results for [PATCH v4] oe-setup-build: TEMPLATECONF were not applied correctly 2026-02-09 23:08 ` [PATCH v4] " Logan Gallois @ 2026-02-09 23:15 ` patchtest 0 siblings, 0 replies; 16+ messages in thread From: patchtest @ 2026-02-09 23:15 UTC (permalink / raw) To: Logan Gallois; +Cc: openembedded-core [-- Attachment #1: Type: text/plain, Size: 2209 bytes --] Thank you for your submission. Patchtest identified one or more issues with the patch. Please see the log below for more information: --- Testing patch /home/patchtest/share/mboxes/v4-oe-setup-build-TEMPLATECONF-were-not-applied-correctly.patch FAIL: test commit message presence: Please include a commit message on your patch explaining the change (test_mbox.TestMbox.test_commit_message_presence) PASS: test Signed-off-by presence (test_mbox.TestMbox.test_signed_off_by_presence) PASS: test author valid (test_mbox.TestMbox.test_author_valid) PASS: test commit message user tags (test_mbox.TestMbox.test_commit_message_user_tags) PASS: test mbox format (test_mbox.TestMbox.test_mbox_format) PASS: test non-AUH upgrade (test_mbox.TestMbox.test_non_auh_upgrade) PASS: test shortlog format (test_mbox.TestMbox.test_shortlog_format) PASS: test shortlog length (test_mbox.TestMbox.test_shortlog_length) PASS: test target mailing list (test_mbox.TestMbox.test_target_mailing_list) SKIP: pretest pylint: No python related patches, skipping test (test_python_pylint.PyLint.pretest_pylint) SKIP: test CVE tag format: No new CVE patches introduced (test_patch.TestPatch.test_cve_tag_format) SKIP: test Signed-off-by presence: No new CVE patches introduced (test_patch.TestPatch.test_signed_off_by_presence) SKIP: test Upstream-Status presence: No new CVE patches introduced (test_patch.TestPatch.test_upstream_status_presence_format) SKIP: test bugzilla entry format: No bug ID found (test_mbox.TestMbox.test_bugzilla_entry_format) SKIP: test pylint: No python related patches, skipping test (test_python_pylint.PyLint.test_pylint) SKIP: test series merge on head: Merge test is disabled for now (test_mbox.TestMbox.test_series_merge_on_head) --- Please address the issues identified and submit a new revision of the patch, or alternatively, reply to this email with an explanation of why the patch should be accepted. If you believe these results are due to an error in patchtest, please submit a bug at https://bugzilla.yoctoproject.org/ (use the 'Patchtest' category under 'Yocto Project Subprojects'). For more information on specific failures, see: https://wiki.yoctoproject.org/wiki/Patchtest. Thank you! ^ permalink raw reply [flat|nested] 16+ messages in thread
* [PATCH v5] oe-setup-build: TEMPLATECONF were not applied correctly 2026-02-09 22:44 ` [PATCH v3] oe-setup-build: TEMPLATECONF were not applied correctly Logan Gallois 2026-02-09 23:00 ` Patchtest results for " patchtest 2026-02-09 23:08 ` [PATCH v4] " Logan Gallois @ 2026-02-09 23:30 ` Logan Gallois 2026-02-10 9:36 ` Alexander Kanavin 2026-02-10 17:39 ` [PATCH v6] " Logan Gallois 3 siblings, 1 reply; 16+ messages in thread From: Logan Gallois @ 2026-02-09 23:30 UTC (permalink / raw) To: logan.gallois; +Cc: alex.kanavin, openembedded-core, Logan Gallois 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 <logan.gallois@hexagon.com> --- 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) if not no_shell: cmd = cmd + " && {}".format(os.environ.get('SHELL','bash')) print("Running:", cmd) -- 2.43.0 ^ permalink raw reply related [flat|nested] 16+ messages in thread
* Re: [PATCH v5] oe-setup-build: TEMPLATECONF were not applied correctly 2026-02-09 23:30 ` [PATCH v5] " Logan Gallois @ 2026-02-10 9:36 ` Alexander Kanavin 0 siblings, 0 replies; 16+ messages in thread From: Alexander Kanavin @ 2026-02-10 9:36 UTC (permalink / raw) To: Logan Gallois; +Cc: openembedded-core, Logan Gallois On Tue, 10 Feb 2026 at 00:30, Logan Gallois <logan.gallois@gmail.com> 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 <logan.gallois@hexagon.com> > --- > 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 ^ permalink raw reply [flat|nested] 16+ messages in thread
* [PATCH v6] oe-setup-build: TEMPLATECONF were not applied correctly 2026-02-09 22:44 ` [PATCH v3] oe-setup-build: TEMPLATECONF were not applied correctly Logan Gallois ` (2 preceding siblings ...) 2026-02-09 23:30 ` [PATCH v5] " Logan Gallois @ 2026-02-10 17:39 ` Logan Gallois 3 siblings, 0 replies; 16+ messages in thread From: Logan Gallois @ 2026-02-10 17:39 UTC (permalink / raw) To: logan.gallois; +Cc: alex.kanavin, openembedded-core, Logan Gallois 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. Signed-off-by: Logan Gallois <logan.gallois@hexagon.com> --- 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) if not no_shell: cmd = cmd + " && {}".format(os.environ.get('SHELL','bash')) print("Running:", cmd) -- 2.43.0 ^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH] oe-setup-build: fix TEMPLATECONF not being applied
@ 2026-02-08 0:08 Logan Gallois
2026-02-08 8:33 ` [PATCH v2] " Logan Gallois
` (6 more replies)
0 siblings, 7 replies; 16+ messages in thread
From: Logan Gallois @ 2026-02-08 0:08 UTC (permalink / raw)
To: openembedded-core; +Cc: Logan Gallois
From: Logan Gallois <logan.gallois@hexagon.com>
When using the new bitbake-setup tool, an oe-template created in a
custom layer was ignored because the TEMPLATECONF variable was not
exported to the environment.
Export TEMPLATECONF so that bitbake-setup correctly picks up templates
provided by external layers.
---
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..0a3146fd503 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 = "export TEMPLATECONF={}\n{}".format(template["templatepath"], cmd_base)
if not no_shell:
cmd = cmd + " && {}".format(os.environ.get('SHELL','bash'))
print("Running:", cmd)
--
2.43.0
^ permalink raw reply related [flat|nested] 16+ messages in thread* [PATCH v2] oe-setup-build: fix TEMPLATECONF not being applied 2026-02-08 0:08 [PATCH] oe-setup-build: fix TEMPLATECONF not being applied Logan Gallois @ 2026-02-08 8:33 ` Logan Gallois 2026-02-08 12:43 ` Logan Gallois ` (5 subsequent siblings) 6 siblings, 0 replies; 16+ messages in thread From: Logan Gallois @ 2026-02-08 8:33 UTC (permalink / raw) To: openembedded-core; +Cc: Logan Gallois From: Logan Gallois <logan.gallois@hexagon.com> When using the new bitbake-setup tool, an oe-template created in a custom layer was ignored because the TEMPLATECONF variable was not exported to the environment. Export TEMPLATECONF so that bitbake-setup correctly picks up templates provided by external layers. Signed-off-by: Logan Gallois <logan.gallois@hexagon.com> --- 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..0a3146fd503 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 = "export TEMPLATECONF={}\n{}".format(template["templatepath"], cmd_base) if not no_shell: cmd = cmd + " && {}".format(os.environ.get('SHELL','bash')) print("Running:", cmd) -- 2.43.0 ^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH v2] oe-setup-build: fix TEMPLATECONF not being applied 2026-02-08 0:08 [PATCH] oe-setup-build: fix TEMPLATECONF not being applied Logan Gallois 2026-02-08 8:33 ` [PATCH v2] " Logan Gallois @ 2026-02-08 12:43 ` Logan Gallois 2026-02-08 12:47 ` Logan Gallois ` (4 subsequent siblings) 6 siblings, 0 replies; 16+ messages in thread From: Logan Gallois @ 2026-02-08 12:43 UTC (permalink / raw) To: patchtest; +Cc: logan.gallois, openembedded-core, Logan Gallois From: Logan Gallois <logan.gallois@hexagon.com> When using the new bitbake-setup tool, an oe-template created in a custom layer was ignored because the TEMPLATECONF variable was not exported to the environment. Export TEMPLATECONF so that bitbake-setup correctly picks up templates provided by external layers. Signed-off-by: Logan Gallois <logan.gallois@hexagon.com> --- 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..0a3146fd503 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 = "export TEMPLATECONF={}\n{}".format(template["templatepath"], cmd_base) if not no_shell: cmd = cmd + " && {}".format(os.environ.get('SHELL','bash')) print("Running:", cmd) -- 2.43.0 ^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH v2] oe-setup-build: fix TEMPLATECONF not being applied 2026-02-08 0:08 [PATCH] oe-setup-build: fix TEMPLATECONF not being applied Logan Gallois 2026-02-08 8:33 ` [PATCH v2] " Logan Gallois 2026-02-08 12:43 ` Logan Gallois @ 2026-02-08 12:47 ` Logan Gallois 2026-02-08 12:51 ` Logan Gallois ` (3 subsequent siblings) 6 siblings, 0 replies; 16+ messages in thread From: Logan Gallois @ 2026-02-08 12:47 UTC (permalink / raw) To: openembedded-core; +Cc: patchtest, Logan Gallois From: Logan Gallois <logan.gallois@hexagon.com> When using the new bitbake-setup tool, an oe-template created in a custom layer was ignored because the TEMPLATECONF variable was not exported to the environment. Export TEMPLATECONF so that bitbake-setup correctly picks up templates provided by external layers. Signed-off-by: Logan Gallois <logan.gallois@hexagon.com> --- 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..0a3146fd503 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 = "export TEMPLATECONF={}\n{}".format(template["templatepath"], cmd_base) if not no_shell: cmd = cmd + " && {}".format(os.environ.get('SHELL','bash')) print("Running:", cmd) -- 2.43.0 ^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH v2] oe-setup-build: fix TEMPLATECONF not being applied 2026-02-08 0:08 [PATCH] oe-setup-build: fix TEMPLATECONF not being applied Logan Gallois ` (2 preceding siblings ...) 2026-02-08 12:47 ` Logan Gallois @ 2026-02-08 12:51 ` Logan Gallois 2026-02-08 14:31 ` Logan Gallois ` (2 subsequent siblings) 6 siblings, 0 replies; 16+ messages in thread From: Logan Gallois @ 2026-02-08 12:51 UTC (permalink / raw) To: openembedded-core; +Cc: Logan Gallois From: Logan Gallois <logan.gallois@hexagon.com> When using the new bitbake-setup tool, an oe-template created in a custom layer was ignored because the TEMPLATECONF variable was not exported to the environment. Export TEMPLATECONF so that bitbake-setup correctly picks up templates provided by external layers. Signed-off-by: Logan Gallois <logan.gallois@hexagon.com> --- 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..0a3146fd503 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 = "export TEMPLATECONF={}\n{}".format(template["templatepath"], cmd_base) if not no_shell: cmd = cmd + " && {}".format(os.environ.get('SHELL','bash')) print("Running:", cmd) -- 2.43.0 ^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH v2] oe-setup-build: fix TEMPLATECONF not being applied 2026-02-08 0:08 [PATCH] oe-setup-build: fix TEMPLATECONF not being applied Logan Gallois ` (3 preceding siblings ...) 2026-02-08 12:51 ` Logan Gallois @ 2026-02-08 14:31 ` Logan Gallois 2026-02-08 15:01 ` Logan Gallois 2026-02-08 15:20 ` logan.gallois 6 siblings, 0 replies; 16+ messages in thread From: Logan Gallois @ 2026-02-08 14:31 UTC (permalink / raw) To: openembedded-core; +Cc: Logan Gallois From: Logan Gallois <logan.gallois@hexagon.com> When using the new bitbake-setup tool, an oe-template created in a custom layer was ignored because the TEMPLATECONF variable was not exported to the environment. Export TEMPLATECONF so that bitbake-setup correctly picks up templates provided by external layers. Signed-off-by: Logan Gallois <logan.gallois@hexagon.com> --- 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..0a3146fd503 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 = "export TEMPLATECONF={}\n{}".format(template["templatepath"], cmd_base) if not no_shell: cmd = cmd + " && {}".format(os.environ.get('SHELL','bash')) print("Running:", cmd) -- 2.43.0 ^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH v2] oe-setup-build: fix TEMPLATECONF not being applied 2026-02-08 0:08 [PATCH] oe-setup-build: fix TEMPLATECONF not being applied Logan Gallois ` (4 preceding siblings ...) 2026-02-08 14:31 ` Logan Gallois @ 2026-02-08 15:01 ` Logan Gallois 2026-02-08 15:20 ` logan.gallois 6 siblings, 0 replies; 16+ messages in thread From: Logan Gallois @ 2026-02-08 15:01 UTC (permalink / raw) To: openembedded-core From: Logan Gallois <logan.gallois@hexagon.com> When using the new bitbake-setup tool, an oe-template created in a custom layer was ignored because the TEMPLATECONF variable was not exported to the environment. Export TEMPLATECONF so that bitbake-setup correctly picks up templates provided by external layers. Signed-off-by: Logan Gallois <logan.gallois@hexagon.com> --- 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..0a3146fd503 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 = "export TEMPLATECONF={}\n{}".format(template["templatepath"], cmd_base) if not no_shell: cmd = cmd + " && {}".format(os.environ.get('SHELL','bash')) print("Running:", cmd) -- 2.43.0 ^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH v2] oe-setup-build: fix TEMPLATECONF not being applied 2026-02-08 0:08 [PATCH] oe-setup-build: fix TEMPLATECONF not being applied Logan Gallois ` (5 preceding siblings ...) 2026-02-08 15:01 ` Logan Gallois @ 2026-02-08 15:20 ` logan.gallois 6 siblings, 0 replies; 16+ messages in thread From: logan.gallois @ 2026-02-08 15:20 UTC (permalink / raw) To: openembedded-core From: Logan Gallois <logan.gallois@hexagon.com> When using the new bitbake-setup tool, an oe-template created in a custom layer was ignored because the TEMPLATECONF variable was not exported to the environment. Export TEMPLATECONF so that bitbake-setup correctly picks up templates provided by external layers. Signed-off-by: Logan Gallois <logan.gallois@hexagon.com> --- 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..0a3146fd503 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 = "export TEMPLATECONF={}\n{}".format(template["templatepath"], cmd_base) if not no_shell: cmd = cmd + " && {}".format(os.environ.get('SHELL','bash')) print("Running:", cmd) -- 2.43.0 ^ permalink raw reply related [flat|nested] 16+ messages in thread
end of thread, other threads:[~2026-02-10 17:47 UTC | newest] Thread overview: 16+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2026-02-08 14:58 [PATCH v2] oe-setup-build: fix TEMPLATECONF not being applied Logan Gallois 2026-02-09 12:50 ` [OE-core] " Alexander Kanavin 2026-02-09 22:44 ` [PATCH v3] oe-setup-build: TEMPLATECONF were not applied correctly Logan Gallois 2026-02-09 23:00 ` Patchtest results for " patchtest 2026-02-09 23:08 ` [PATCH v4] " Logan Gallois 2026-02-09 23:15 ` Patchtest results for " patchtest 2026-02-09 23:30 ` [PATCH v5] " Logan Gallois 2026-02-10 9:36 ` Alexander Kanavin 2026-02-10 17:39 ` [PATCH v6] " Logan Gallois -- strict thread matches above, loose matches on Subject: below -- 2026-02-08 0:08 [PATCH] oe-setup-build: fix TEMPLATECONF not being applied Logan Gallois 2026-02-08 8:33 ` [PATCH v2] " Logan Gallois 2026-02-08 12:43 ` Logan Gallois 2026-02-08 12:47 ` Logan Gallois 2026-02-08 12:51 ` Logan Gallois 2026-02-08 14:31 ` Logan Gallois 2026-02-08 15:01 ` Logan Gallois 2026-02-08 15:20 ` logan.gallois
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox