[oe] Setting `PV` in recipes using SCM repositories

Marco Cavallini koansoftware at gmail.com
Sun Apr 4 08:43:42 UTC 2010


Paul Menzel ha scritto, Il 03/04/2010 00:56:
> Am Freitag, den 02.04.2010, 23:18 +0200 schrieb Martin Jansa:
>> On Fri, Apr 02, 2010 at 11:28:10AM -0700, Khem Raj wrote:
>>> On Fri, Apr 2, 2010 at 8:59 AM, Paul Menzel
>>> <paulepanter at users.sourceforge.net> wrote:
>>>> 1. Create `enna.inc`.
>>>> 2. Use `INC_PR`.
>>>> 3. Move to new repository location.
>>>> 4. Use `NOTQUITESRCREV` since `SRCREV` seems to get set to the one from the EFL recipes.
>> You can use SRCREV again after
>> http://git.openembedded.org/cgit.cgi/openembedded/commit/?id=82b394467d9142edf2721176244c3a7eb26ba69a
> 
> I guess I have to resend a v4.
> 
>> And maybe you want rev shown in PV or PR
>> PV = "0.4.0+hg${SRCPV}" or 
>> PR_append = "+hg${SRCPV}"
>> is quire common and should work for hg too (haven't checked)
> 
> Unfortunately I could not find any information about `SRCPV` in the
> BitBake or OE manual. What is the difference to `SRCREV`?
> 
> Anyway, the problem I have with appending the `SRCREV` to `PV` is, that
> if you change the revision `bitbake -c clean recipe.bb` will not work
> and the old files stay in the build tree. Is that true with `SRCPV`
> also?
> 
> Could the TSC make a suggestion on how to set `PV` in recipes using SCM
> repositories.
> 
> 
> Thanks,
> 
> Paul
> 
> 
> ------------------------------------------------------------------------

I'll work on this next week

Happy Easter :-)


Cordiali Saluti / Kindest Regards / mit freundlichen Grüssen
--
Marco Cavallini | KOAN sas | Bergamo - Italia
 embedded and real-time software engineering
Phone:+39-035-255.235 - Fax:+39-178-22.39.748
      http://www.KoanSoftware.com




More information about the Openembedded-devel mailing list