[OE-core] SRC_URI and latest HEAD revision with git
Paul Eggleton
paul.eggleton at linux.intel.com
Tue Jul 23 08:20:16 UTC 2013
On Tuesday 23 July 2013 08:23:54 Steffen Sledz wrote:
> On 22.07.2013 13:08, Paul Eggleton wrote:
> > On Monday 22 July 2013 12:30:53 Steffen Sledz wrote:
> >> On 22.07.2013 11:51, Paul Eggleton wrote:
> >>> If you want these to increment now AIUI you need to be using the PR
> >>> server:
> >>>
> >>> https://wiki.yoctoproject.org/wiki/PR_Service
> >>
> >> This seems to be the thing we need.
> >>
> >> But the description is not very helpful from the view of a recipe
> >> maintainer. It describes mostly the server part.
> >>
> >> * What do i have to write in my recipe?
> >
> > Nothing special. If you used SRCPV in PV where you are using an SCM in
> > SRC_URI, that should be enough. The integer at the start of SRCREV will be
> > incremented automatically if the revision changes, and if it doesn't but
> > other values within the recipe change then PR will automatically be
> > incremented above the initial value set in the recipe.
> >
> >> * What modifications in bitbake.conf, local.conf, ... are necessary?
> >
> > I believe as described in the page I linked above you should only need to
> > set PRSERV_HOST.
>
> You're right. This works. ;-)
>
> I've two points more:
> * The Wiki-Page mentions the bitbake-prserv-tool. Where can this be found?
Perhaps confusingly it's part of OE-Core. I haven't looked at it to see if
there's anything OE-specific about it that meant it had to be there rather than
supplied with bitbake.
> * Does anyone have systemd configs or sysvinit scripts for handling the
> bitbake-prserv?
I don't, but perhaps others do.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
More information about the Openembedded-core
mailing list