[OE-core] how do i auto increase a package PR on every build.

Richard Purdie richard.purdie at linuxfoundation.org
Sun Jan 26 12:31:31 UTC 2014


On Sun, 2014-01-26 at 11:40 +0000, Andrew Blackburn wrote:
> hi guys,
> 
> i hoping someone can help me on this, i am wanting to have a build
> number for my project, atm i am manually increase the PR from the main
> bb, but this mean i have update the GIT on each build, and is this
> flooded with unnecessary commits. this they away i can get it to auto
> increase the PR on each and every build ?, i would also need to tell
> it a start point from what to increase.
> 
> 
> hope someone can help.

Have a look at the PR server code. That currently increases the PR
number when the hash of the task changes.

You could therefore either:

a) hack the PR server to always increase the PR of your recipe

b) add a dependency on the DATETIME variable in your recipe's do_package
task so the hash always changes.

Cheers,

Richard




More information about the Openembedded-core mailing list