Openembedded Core Discussions
 help / color / mirror / Atom feed
* Multiple *.bbappend files support
@ 2013-04-15 10:26 Yevhen Kyriukha
  2013-04-15 10:33 ` Koen Kooi
  0 siblings, 1 reply; 6+ messages in thread
From: Yevhen Kyriukha @ 2013-04-15 10:26 UTC (permalink / raw)
  To: openembedded-core

Is there a way to use multiple *.bbappend files in different layers?

I'm using meta-raspberrypi and my own layer.
Both extend base-files with *.bbappend and both have PRINC = "1".
But only first of *.bbappend files applied (that is in meta-raspberrypi).
PR of base-files also increments by one (not by two).

Best regards,
Yevhen



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Multiple *.bbappend files support
  2013-04-15 10:26 Multiple *.bbappend files support Yevhen Kyriukha
@ 2013-04-15 10:33 ` Koen Kooi
  2013-04-15 10:37   ` Yevhen Kyriukha
  0 siblings, 1 reply; 6+ messages in thread
From: Koen Kooi @ 2013-04-15 10:33 UTC (permalink / raw)
  To: Yevhen Kyriukha; +Cc: openembedded-core


Op 15 apr. 2013, om 12:26 heeft Yevhen Kyriukha <kirgene@gmail.com> het volgende geschreven:

> Is there a way to use multiple *.bbappend files in different layers?
> 
> I'm using meta-raspberrypi and my own layer.
> Both extend base-files with *.bbappend and both have PRINC = "1".
> But only first of *.bbappend files applied (that is in meta-raspberrypi).
> PR of base-files also increments by one (not by two).

Yeah, try to make all bbappends use:

	PRINC := "${@int(PRINC) + 1}"

regards,

Koen


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Multiple *.bbappend files support
  2013-04-15 10:33 ` Koen Kooi
@ 2013-04-15 10:37   ` Yevhen Kyriukha
  2013-04-15 11:23     ` Richard Purdie
  0 siblings, 1 reply; 6+ messages in thread
From: Yevhen Kyriukha @ 2013-04-15 10:37 UTC (permalink / raw)
  To: Koen Kooi; +Cc: openembedded-core

Great, thanks!
Best regards,
Yevhen


2013/4/15 Koen Kooi <koen@dominion.thruhere.net>:
>
> Op 15 apr. 2013, om 12:26 heeft Yevhen Kyriukha <kirgene@gmail.com> het volgende geschreven:
>
>> Is there a way to use multiple *.bbappend files in different layers?
>>
>> I'm using meta-raspberrypi and my own layer.
>> Both extend base-files with *.bbappend and both have PRINC = "1".
>> But only first of *.bbappend files applied (that is in meta-raspberrypi).
>> PR of base-files also increments by one (not by two).
>
> Yeah, try to make all bbappends use:
>
>         PRINC := "${@int(PRINC) + 1}"
>
> regards,
>
> Koen



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Multiple *.bbappend files support
  2013-04-15 10:37   ` Yevhen Kyriukha
@ 2013-04-15 11:23     ` Richard Purdie
  2013-04-15 11:34       ` Yevhen Kyriukha
  0 siblings, 1 reply; 6+ messages in thread
From: Richard Purdie @ 2013-04-15 11:23 UTC (permalink / raw)
  To: Yevhen Kyriukha; +Cc: Koen Kooi, openembedded-core

On Mon, 2013-04-15 at 13:37 +0300, Yevhen Kyriukha wrote:
> Great, thanks!
> Best regards,
> Yevhen
> 
> 
> 2013/4/15 Koen Kooi <koen@dominion.thruhere.net>:
> >
> > Op 15 apr. 2013, om 12:26 heeft Yevhen Kyriukha <kirgene@gmail.com> het volgende geschreven:
> >
> >> Is there a way to use multiple *.bbappend files in different layers?
> >>
> >> I'm using meta-raspberrypi and my own layer.
> >> Both extend base-files with *.bbappend and both have PRINC = "1".
> >> But only first of *.bbappend files applied (that is in meta-raspberrypi).
> >> PR of base-files also increments by one (not by two).
> >
> > Yeah, try to make all bbappends use:
> >
> >         PRINC := "${@int(PRINC) + 1}"
> >

I'd just add that with the PR server now in use, the need to add this
PRINC stuff should be removed...

Cheers,

Richard




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Multiple *.bbappend files support
  2013-04-15 11:23     ` Richard Purdie
@ 2013-04-15 11:34       ` Yevhen Kyriukha
  2013-04-15 11:47         ` Richard Purdie
  0 siblings, 1 reply; 6+ messages in thread
From: Yevhen Kyriukha @ 2013-04-15 11:34 UTC (permalink / raw)
  To: Richard Purdie; +Cc: Koen Kooi, openembedded-core

2013/4/15 Richard Purdie <richard.purdie@linuxfoundation.org>:
> On Mon, 2013-04-15 at 13:37 +0300, Yevhen Kyriukha wrote:
>> Great, thanks!
>> Best regards,
>> Yevhen
>>
>>
>> 2013/4/15 Koen Kooi <koen@dominion.thruhere.net>:
>> >
>> > Op 15 apr. 2013, om 12:26 heeft Yevhen Kyriukha <kirgene@gmail.com> het volgende geschreven:
>> >
>> >> Is there a way to use multiple *.bbappend files in different layers?
>> >>
>> >> I'm using meta-raspberrypi and my own layer.
>> >> Both extend base-files with *.bbappend and both have PRINC = "1".
>> >> But only first of *.bbappend files applied (that is in meta-raspberrypi).
>> >> PR of base-files also increments by one (not by two).
>> >
>> > Yeah, try to make all bbappends use:
>> >
>> >         PRINC := "${@int(PRINC) + 1}"
>> >
>
> I'd just add that with the PR server now in use, the need to add this
> PRINC stuff should be removed...
>
> Cheers,
>
> Richard
>

And what does it mean? What do I need to write in bbappend instead of PRINC?

Best regards,
Yevhen



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Multiple *.bbappend files support
  2013-04-15 11:34       ` Yevhen Kyriukha
@ 2013-04-15 11:47         ` Richard Purdie
  0 siblings, 0 replies; 6+ messages in thread
From: Richard Purdie @ 2013-04-15 11:47 UTC (permalink / raw)
  To: Yevhen Kyriukha; +Cc: Koen Kooi, openembedded-core

On Mon, 2013-04-15 at 14:34 +0300, Yevhen Kyriukha wrote:
> 2013/4/15 Richard Purdie <richard.purdie@linuxfoundation.org>:
> > On Mon, 2013-04-15 at 13:37 +0300, Yevhen Kyriukha wrote:
> >> Great, thanks!
> >> Best regards,
> >> Yevhen
> >>
> >>
> >> 2013/4/15 Koen Kooi <koen@dominion.thruhere.net>:
> >> >
> >> > Op 15 apr. 2013, om 12:26 heeft Yevhen Kyriukha <kirgene@gmail.com> het volgende geschreven:
> >> >
> >> >> Is there a way to use multiple *.bbappend files in different layers?
> >> >>
> >> >> I'm using meta-raspberrypi and my own layer.
> >> >> Both extend base-files with *.bbappend and both have PRINC = "1".
> >> >> But only first of *.bbappend files applied (that is in meta-raspberrypi).
> >> >> PR of base-files also increments by one (not by two).
> >> >
> >> > Yeah, try to make all bbappends use:
> >> >
> >> >         PRINC := "${@int(PRINC) + 1}"
> >> >
> >
> > I'd just add that with the PR server now in use, the need to add this
> > PRINC stuff should be removed...
> >
> > Cheers,
> >
> > Richard
> >
> 
> And what does it mean? What do I need to write in bbappend instead of PRINC?

Nothing. The system automatically detects changes in the metadata
through the sstate checksum and then automatically changed PR as
needed. 

http://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#working-with-a-pr-service

Cheers,

Richard




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-04-15 12:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-15 10:26 Multiple *.bbappend files support Yevhen Kyriukha
2013-04-15 10:33 ` Koen Kooi
2013-04-15 10:37   ` Yevhen Kyriukha
2013-04-15 11:23     ` Richard Purdie
2013-04-15 11:34       ` Yevhen Kyriukha
2013-04-15 11:47         ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox