[OE-core] [PATCH] lttng-modules: Add git based recipe

richard.purdie at linuxfoundation.org richard.purdie at linuxfoundation.org
Wed Jun 12 10:27:32 UTC 2019


On Wed, 2019-06-12 at 18:21 +0800, He Zhe wrote:
> 
> On 6/12/19 5:57 PM, Richard Purdie wrote:
> > On Wed, 2019-06-12 at 17:15 +0800, zhe.he at windriver.com wrote:
> > > From: He Zhe <zhe.he at windriver.com>
> > > 
> > > This is based on meta/recipes-kernel/lttng/lttng-
> > > modules_2.10.9.bb and is for
> > > those who want to build lttng-modules with bleeding edge kernel,
> > > to avoid
> > > regularly backporting patches from upstream.
> > > 
> > > Note that PREFERRED_VERSION needs to be set to select this recipe
> > > instead of the
> > > tar ball one.
> > > 
> > > Signed-off-by: He Zhe <zhe.he at windriver.com>
> > > ---
> > >  meta/recipes-kernel/lttng/lttng-modules_git.bb | 34
> > > ++++++++++++++++++++++++++
> > >  1 file changed, 34 insertions(+)
> > >  create mode 100644 meta/recipes-kernel/lttng/lttng-
> > > modules_git.bb
> > Do we really want/need to duplicate the whole recipe?
> 
> Do you like one .inc plus two .bb s? Then I'll send v2 later.

Yes, or just require the other .bb file and override the pieces needed.
Not quite sure which would look best right now.

Ultimately I'd like to have something like Ross' patch:

http://git.yoctoproject.org/cgit.cgi/poky-contrib/commit/?h=ross/gitup

and use that for cases like this. Requiring the .bb and then tweaking
may allow migration to something like this more easily.

Cheers,

Richard



More information about the Openembedded-core mailing list