All of lore.kernel.org
 help / color / mirror / Atom feed
* PRINC migration questions
@ 2014-11-07 13:31 Bryan Evenson
  2014-11-07 14:36 ` Martin Jansa
  2014-11-07 15:46 ` Michael_E_Brown
  0 siblings, 2 replies; 6+ messages in thread
From: Bryan Evenson @ 2014-11-07 13:31 UTC (permalink / raw)
  To: openembedded-devel@lists.openembedded.org

All,

I am on poky/dylan and have not yet started using the PR server.  I really do want to start using the PR server and stop using PRINC.  However, even more so I really don't want to break my package feeds.  I want to make sure I do my migration correctly and I don't do something that looks like it works okay only to find out it causes problems later.  With that in mind, I am looking for advice on the proper way to migrate away from using PRINC.

Let's say I have a .bbappend in my private layer with the line:

PRINC := "${@int(PRINC) + 4}"

The mainline layer's .bb has the line:

PR = "${INC_PR}.0"

And the mainline layer's .inc has the line:

INC_PR = "r8"

In this scenario, the resulting PR will be "r12.0".  Now let's say I want to start using the PR server and get rid of PRINC in this recipe.  The resulting package contents are to be the same, so I want the resulting PR to be "r12.0".  From some limited testing, if I start the PR server and remove the PRINC line from my .bbappend the resulting PR is "r8.0".  So in my .bbappend should I change the PRINC line to:

INC_PR = "r12"

Or should I change it to something else?  If I change it to a hardcoded value, then I'll have to be careful about what to do if the mainline recipe changes INC_PR.  How have other people handled this situation?

Thanks,
Bryan

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-11-10 14:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-07 13:31 PRINC migration questions Bryan Evenson
2014-11-07 14:36 ` Martin Jansa
2014-11-07 15:36   ` Bryan Evenson
2014-11-07 23:20     ` Martin Jansa
2014-11-10 14:39       ` Bryan Evenson
2014-11-07 15:46 ` Michael_E_Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.