If you have a "full" eSDK and extract it, recipes can be masked from extraction
since they are not needed at runtime. An example is maturin-native, for which
populate_sysroot doesn't run in a core-image-sato image.

Fix this by ensuring all do_build tasks for the targets run. This allows
the maturin eSDK test to work correctly on full eSDK builds.

Signed-off-by: Richard Purdie <[email protected]>
---
 meta/files/ext-sdk-prepare.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/files/ext-sdk-prepare.py b/meta/files/ext-sdk-prepare.py
index 89b04030899..ed03b77ae62 100644
--- a/meta/files/ext-sdk-prepare.py
+++ b/meta/files/ext-sdk-prepare.py
@@ -69,7 +69,7 @@ def main():
     with open(logfile, 'a') as logf:
         logf.write('Preparing SDK for %s...\n' % ', '.join(sdk_targets))
 
-        ret = run_command_interruptible('BB_SETSCENE_ENFORCE=1 bitbake --quiet 
%s' % ' '.join(sdk_targets))
+        ret = run_command_interruptible('BB_SETSCENE_ENFORCE=1 bitbake --quiet 
--runall do_build %s' % ' '.join(sdk_targets))
         if not ret:
             ret = run_command_interruptible('bitbake --quiet build-sysroots -c 
build_native_sysroot && bitbake --quiet build-sysroots -c build_target_sysroot')
         lastlog = get_last_consolelog()
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#244125): 
https://lists.openembedded.org/g/openembedded-core/message/244125
Mute This Topic: https://lists.openembedded.org/mt/120904473/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to