Skip to contentSkip to conversation

adding an updated package, and when it's safe to do so?

DISCUSSION Robert P. J. Day 2 participants 3 messages Nov 20, 2009

lore
Share & tools
lore
#0 lore raw

a couple silly questions while i prep a guile package update.

1) if a newer package is added under recipes, i'm assuming that it's the newest version of the package that will be used for a build, unless a PREFERRED_VERSION directive is used, correct?

2) at what point can i start to add that new package info so that a current build doesn't pick it up? once all the .bb files are parsed and the package builds are underway, is that it for any further consultation of the .bb files?

rday
--

========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA

Linux Consulting, Training and Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday

========================================================================

#1 lore raw
Quoted 10 lines · Robert P. J. Day

a couple silly questions while i prep a guile package update.

1) if a newer package is added under recipes, i'm assuming that it's the newest version of the package that will be used for a build, unless a PREFERRED_VERSION directive is used, correct?

2) at what point can i start to add that new package info so that a current build doesn't pick it up? once all the .bb files are parsed and the package builds are underway, is that it for any further consultation of the .bb files?

I'm not sure if I'm understanding your problem correctly, but to me it sounds like you just want to set DEFAULT_PREFERENCE="-1" in the recipe you're concerned about.

--Chris

#2 lore raw
Quoted 7 lines · Chris Conroy
Quoted 6 lines · Robert P. J. Day

a couple silly questions while i prep a guile package update.

1) if a newer package is added under recipes, i'm assuming that it's the newest version of the package that will be used for a build, unless a PREFERRED_VERSION directive is used, correct?

Quoted 8 lines
Quoted 4 lines

2) at what point can i start to add that new package info so that a current build doesn't pick it up? once all the .bb files are parsed and the package builds are underway, is that it for any further consultation of the .bb files?

I'm not sure if I'm understanding your problem correctly, but to me it sounds like you just want to set DEFAULT_PREFERENCE="-1" in the recipe you're concerned about.

not really, i was simply asking what *would* happen upon the
addition of a newer version of a package, that's all.

rday
--

========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA

Linux Consulting, Training and Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday

========================================================================