On 24 May 2023, at 18:01, Peter Hoyes <[email protected]> wrote: > When running testimage under bitbake, would it make sense to simply do: > > --- a/meta/classes-recipe/testimage.bbclass > +++ b/meta/classes-recipe/testimage.bbclass > @@ -350,7 +350,7 @@ def testimage_main(d): > d.getVar("TEST_SERVER_IP"), **target_kwargs) > > # test context > - tc = OERuntimeTestContext(td, logger, target, host_dumper, > + tc = OERuntimeTestContext(d, logger, target, host_dumper, > image_packages, extract_dir) > > # Load tests before starting the target > > (and a few other associated tidy-ups)
I’ll let Richard correct me, but I _think_ the intended use-case here is the ability to run testimage on a prebuild image that someone else build, with just a minimal oe-core. So someone can give you an image that they’ve built, you put it in the right place and can testimage it, without having to have their configuration/layers/etc. Honestly, no idea if that is actually used or tested. Would be an interesting experiment! Ross
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#181689): https://lists.openembedded.org/g/openembedded-core/message/181689 Mute This Topic: https://lists.openembedded.org/mt/98951993/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
