[OE-core] what is the significance of the numeric version part of 'PV = "1.0.1+git${SRCPV}"'?
Robert P. J. Day
rpjday at crashcourse.ca
Mon Feb 13 16:48:50 UTC 2017
On Mon, 13 Feb 2017, Christopher Larson wrote:
> On Mon, Feb 13, 2017 at 6:51 AM, Robert P. J. Day <rpjday at crashcourse.ca> wrote:
>
> next (and what might be a silly question), based on the above, is it
> possible to set absurdly misleading PV values in recipe files for the
> same recipe, such as:
>
> rday_1.0.bb
> PV = "2.0"
>
> rday_2.0.bb
> PV = "1.0"
>
> of course the above is wildly confusing, but is it legal? and given
> what's written above, i'm concluding that the most "recent" recipe
> selected by default would be "rday_1.0.bb", yes?
>
>
> It’s legal, and the default lacking any specified preference would
> be the higher PV, 2.0, which is the rday_2.0.bb recipe. Default
> version selection when nothing is preferred (and no layer priorities
> are involved in the selection) goes based on PV, not the filename.
wait, did you mean to say rday_2.0.bb? because that recipe file
explicitly sets PV = 1.0. or am i misreading something here?
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
More information about the Openembedded-core
mailing list