[poky] PR and .bbappend
Mark Hatle
mark.hatle at windriver.com
Wed Feb 2 07:17:32 PST 2011
On 2/2/11 9:13 AM, Chris Larson wrote:
> On Wed, Feb 2, 2011 at 8:03 AM, Gary Thomas <gary at mlbassoc.com> wrote:
>> Should .bbappend files have a PR in them? If so, must it
>> match the one in the main .bb file?
>
> All metadata in a .bbappend is essentially concatenated to the recipe.
> If you define PR in the .bbappend, it will override the one in the
> recipe, which is unlikely what you want, as that loses information.
> The better route is to do something like PR .= ".1" in the .bbappend,
> and bump that when changing the bbappend file.
I was going to suggest the same thing. A good approach is to append a value to
the existing PR. (I suggest this get added as a best practice in the
documentation on bbappend... I'm not sure who the correct person is to point
this out to though.)
--Mark
More information about the poky
mailing list