From: Logan Gallois <logan.gallois@gmail.com>
To: patchtest@automation.yoctoproject.org
Cc: logan.gallois@gmail.com,
openembedded-core@lists.openembedded.org,
Logan Gallois <logan.gallois@hexagon.com>
Subject: [PATCH] oe-setup-build: fix TEMPLATECONF not being applied
Date: Sun, 8 Feb 2026 13:37:40 +0100 [thread overview]
Message-ID: <20260208123740.4909-1-logan.gallois@gmail.com> (raw)
In-Reply-To: <0101019c3ac3ecca-9535696f-0659-43b8-a071-29534de7acda-000000@us-west-2.amazonses.com>
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
next prev parent reply other threads:[~2026-02-08 19:54 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-08 0:08 [PATCH] oe-setup-build: fix TEMPLATECONF not being applied Logan Gallois
2026-02-08 1:00 ` Patchtest results for " patchtest
2026-02-08 12:17 ` Logan Gallois
2026-02-08 12:37 ` Logan Gallois [this message]
2026-02-08 8:33 ` [PATCH v2] " Logan Gallois
2026-02-08 12:42 ` [PATCH] " Logan Gallois
2026-02-08 12:43 ` [PATCH v2] " 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
-- strict thread matches above, loose matches on Subject: below --
2026-02-08 8:38 [PATCH] " Logan Gallois
2026-02-08 14:42 Logan Gallois
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260208123740.4909-1-logan.gallois@gmail.com \
--to=logan.gallois@gmail.com \
--cc=logan.gallois@hexagon.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=patchtest@automation.yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox