* [PATCH] oe-setup-build: fix TEMPLATECONF not being applied
@ 2026-02-08 0:08 Logan Gallois
2026-02-08 12:42 ` Logan Gallois
0 siblings, 1 reply; 6+ 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] 6+ messages in thread
* [PATCH] oe-setup-build: fix TEMPLATECONF not being applied
@ 2026-02-08 8:38 Logan Gallois
0 siblings, 0 replies; 6+ messages in thread
From: Logan Gallois @ 2026-02-08 8:38 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 edbcd48355a..5ac46dde343 100755
--- a/scripts/oe-setup-build
+++ b/scripts/oe-setup-build
@@ -98,7 +98,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] 6+ messages in thread
* [PATCH] oe-setup-build: fix TEMPLATECONF not being applied
2026-02-08 1:00 Patchtest results for " patchtest
@ 2026-02-08 12:17 ` Logan Gallois
2026-02-08 12:37 ` Logan Gallois
1 sibling, 0 replies; 6+ messages in thread
From: Logan Gallois @ 2026-02-08 12:17 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] 6+ messages in thread
* [PATCH] oe-setup-build: fix TEMPLATECONF not being applied
2026-02-08 1:00 Patchtest results for " patchtest
2026-02-08 12:17 ` Logan Gallois
@ 2026-02-08 12:37 ` Logan Gallois
1 sibling, 0 replies; 6+ messages in thread
From: Logan Gallois @ 2026-02-08 12:37 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] 6+ messages in thread
* [PATCH] oe-setup-build: fix TEMPLATECONF not being applied
2026-02-08 0:08 Logan Gallois
@ 2026-02-08 12:42 ` Logan Gallois
0 siblings, 0 replies; 6+ messages in thread
From: Logan Gallois @ 2026-02-08 12:42 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] 6+ messages in thread
* [PATCH] oe-setup-build: fix TEMPLATECONF not being applied
@ 2026-02-08 14:42 Logan Gallois
0 siblings, 0 replies; 6+ messages in thread
From: Logan Gallois @ 2026-02-08 14:42 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] 6+ messages in thread
end of thread, other threads:[~2026-02-08 19:54 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-08 14:42 [PATCH] oe-setup-build: fix TEMPLATECONF not being applied Logan Gallois
-- strict thread matches above, loose matches on Subject: below --
2026-02-08 8:38 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
2026-02-08 0:08 Logan Gallois
2026-02-08 12:42 ` Logan Gallois
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox