Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] staging: allow special handling of initial-recipes also for native
@ 2026-11-19  5:59 Joerg Vehlow
  2026-11-23 11:39 ` [OE-core] " Richard Purdie
  0 siblings, 1 reply; 6+ messages in thread
From: Joerg Vehlow @ 2026-11-19  5:59 UTC (permalink / raw)
  To: openembedded-core; +Cc: Joerg Vehlow

Sometimes a native recipe also needs bootstrapping (e.g. for ada, rust or go)
-inital-native recipes are already handled different in bitbake.conf (both suffixes are stripped).
During staging for the esdk these packages should also not be staged in the sysroot as they might conflict like libgcc-initial does.

Signed-off-by: Joerg Vehlow <joerg.vehlow@emlix.com>
---
 meta/classes-global/staging.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes-global/staging.bbclass b/meta/classes-global/staging.bbclass
index 20340a16e1..6438f6bddd 100644
--- a/meta/classes-global/staging.bbclass
+++ b/meta/classes-global/staging.bbclass
@@ -453,7 +453,7 @@ python extend_recipe_sysroot() {
     installed = []
     for dep in configuredeps:
         c = setscenedeps[dep][0]
-        if mytaskname in ["do_sdk_depends", "do_populate_sdk_ext"] and c.endswith("-initial"):
+        if mytaskname in ["do_sdk_depends", "do_populate_sdk_ext"] and (c.endswith("-initial") or c.endswith("-initial-native")):
             bb.note("Skipping initial setscene dependency %s for installation into the sysroot" % c)
             continue
         installed.append(c)

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-11-23 15:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-19  5:59 [PATCH] staging: allow special handling of initial-recipes also for native Joerg Vehlow
2026-11-23 11:39 ` [OE-core] " Richard Purdie
2026-11-23 11:46   ` Jörg Vehlow
2026-11-23 11:52     ` Richard Purdie
2026-11-23 12:08       ` Jörg Vehlow
2026-11-23 15:17         ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox