* How to build a devupstream variant of a recipe?
@ 2021-08-25 13:51 Peter Kjellerstedt
2021-08-25 14:00 ` [OE-core] " Bruce Ashfield
0 siblings, 1 reply; 2+ messages in thread
From: Peter Kjellerstedt @ 2021-08-25 13:51 UTC (permalink / raw)
To: OE Core (openembedded-core@lists.openembedded.org)
[-- Attachment #1: Type: text/plain, Size: 463 bytes --]
As I was recently looking at lttng-modules, which supports devupstream, I wanted to try to build the devupstream variant. However, neither the information in devupstream.bbclass nor the documentation in the manual were of any help. Since it uses the BBCLASSEXTEND mechanism, I thought it would be as simple as doing `bitbake lttng-modules-devupstream`, but that did not work. So what is the correct way to build a devupstream variant of a recipe?
//Peter
[-- Attachment #2: Type: text/html, Size: 1111 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [OE-core] How to build a devupstream variant of a recipe?
2021-08-25 13:51 How to build a devupstream variant of a recipe? Peter Kjellerstedt
@ 2021-08-25 14:00 ` Bruce Ashfield
0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2021-08-25 14:00 UTC (permalink / raw)
To: Peter Kjellerstedt; +Cc: OE Core (openembedded-core@lists.openembedded.org)
On Wed, Aug 25, 2021 at 9:51 AM Peter Kjellerstedt
<peter.kjellerstedt@axis.com> wrote:
>
> As I was recently looking at lttng-modules, which supports devupstream, I wanted to try to build the devupstream variant. However, neither the information in devupstream.bbclass nor the documentation in the manual were of any help. Since it uses the BBCLASSEXTEND mechanism, I thought it would be as simple as doing `bitbake lttng-modules-devupstream`, but that did not work. So what is the correct way to build a devupstream variant of a recipe?
Assuming that the devupstream variant/override doesn't modify PN (like
we do in linux-yocto_5.13.bb), then it is selected by setting the
preferred version to match the devupstream version.
i.e. I have this in my local.conf for when I'm working on lttng devupstream:
# this picks the devupstream version
#PREFERRED_VERSION_lttng-modules = "2.13.0-rc2+git%"
(and adjust the version to suit).
Bruce
>
> //Peter
>
>
>
>
>
--
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-08-25 14:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-25 13:51 How to build a devupstream variant of a recipe? Peter Kjellerstedt
2021-08-25 14:00 ` [OE-core] " Bruce Ashfield
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox