[OE-core] [PATCH 2/2] kernel-fitimage.bbclass: Introduce a way to provide external dtb
richard.purdie at linuxfoundation.org
Thu Feb 21 08:37:22 UTC 2019
On Thu, 2019-02-21 at 03:53 +0000, Manjukumar Harthikote Matha wrote:
> From: Richard Purdie [mailto:richard.purdie at linuxfoundation.org]
> > On Tue, 2019-02-19 at 19:34 +0000, Manjukumar Harthikote Matha
> > > > PREFERRED_PROVIDER_virtual/dtb = "devicetree"
> > > >
> > >
> > > Yes, I should have added this in the commit message. I will
> > > update it
> > > and re-send V2
> > What may also help a lot here would be some tests. This is
> > currently a blackhole in
> > the tests :(
> Are there examples of having tests only for bbclass in OE-Core?
There are. See meta/lib/oeqa/selftest/cases/wic.py
I appreciate wic is a tool, not a class but the examples there should
help. You can trigger them with oe-selftest -r wic.
Another example which is a bbclass is selftest/cases/archiver.py which
does use a class inherit.
> We need a recipe or create-one to inherit this class and probably add
> that as a testcase.
> I am not sure how to proceed, any example would help to implement the
See above, they show how to add small config fragments. If you do need
a full recipe, then the meta-selftest layer of OE-Core should be able
to help too.
If you have any other questions or run into issues please do ask!
More information about the Openembedded-core