[OE-core] How to migrate from PRINC to PR_SERVER?

Mike Looijmans mike.looijmans at topic.nl
Sat Apr 19 13:35:32 UTC 2014


On 04/19/2014 12:59 PM, Martin Jansa wrote:
> On Sat, Apr 19, 2014 at 11:08:06AM +0200, Mike Looijmans wrote:
>> Attempting to move to the current OE-head now yields about a hundred
>> messages like this:
>>
>> WARNING: Use of PRINC 7 was detected in the recipe ...
>>
>> The https://wiki.yoctoproject.org/wiki/PR_Service page tells what the PR
>> server is.
>
> PR_Service doesn't help with PRINC removal, because PRINC is applied on
> first number in PR and AUTOPR is appended as extra number after dot.

So what is the relation then? Why is PRINC now suddenly declared 
obsolete, without providing anything to replace it?

>> However, it does not tell what to do with the recipes. Just removing
>> PRINC from the recipes will break the upgrade path.
>
> You were supposed to send corresponding PR bumps to upper layers when
> removing PRINCs, like:
> http://git.openembedded.org/openembedded-core/commit?id=c6825ec6e92e20bb64a051d1576f363c16e98d68
>
> but it's probably too late for daisy.
>
>> What are we supposed to do now?
>
> You can wait for PV/PE upgrades in upper layers or in worse case break
> upgrade path and remove PRINCs without replacement (e.g. if it's in your
> private layer and company doesn't care about upgrade path).

That would also mean hand-crafting several dozen of PR numbers. And for 
a project like OpenPLi for which there are something like a million 
embedded boxes running and upgrading it in the field, I'd definitely 
want to keep the upgrade path clean...

Would a patch that bumps PRs for so many packages be accepted?


-- 
Mike Looijmans



More information about the Openembedded-core mailing list