[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [p2-dev] Can install order be influenced?
- From: Pascal Rapicault <pascal@xxxxxxxxxxxx>
- Date: Wed, 6 Oct 2010 11:08:00 -0400
- Delivered-to: email@example.com
There is no out of the box support for this in p2. The planner fills the plan without doing any sorting.
I do agree that for install purpose this is starting to be necessary, and I can see two possibilities
1 - Get the provisioning plan and reorder the elements in the plan manually (yuck)
2 - Have the planner do that for you based on the dependency information.
#2 - is probably the easiest and useful to most ppl.
On 2010-10-06, at 9:27 AM, Thomas Hallgren wrote:
> We have a situation where a set of non-osgi components must be installed in a specific order (leaf first when looking at the dependency tree). Is there any way to tell p2 to call touchpoints in a specific order?
> A depends on B which depends on C. I tell p2 to install A which of course means it also downloads B and C. Once the resolve and download is complete it's essential that C is installed first, then B and lastly A.
> - thomas
> p2-dev mailing list