[wpkg-users] Are negative priority levels support?

Paul Griffith paulg at cse.yorku.ca
Fri Nov 29 14:33:15 CET 2013


On 11/27/2013 04:22 PM, Stefan Pendl wrote:
> Am 27.11.2013 21:29, schrieb Paul Griffith:
>> Hi All,
>>
>>     Does WPKG accept a negative priority level?  I wanted to have a 
>> package that runs last after all other packages. This package disable 
>> the wpkg service from running at start-up. I tried it, and everything 
>> **seem** ;) okay. A quick look at the code didn't reveal anything I 
>> should be concerned about. What I want to do is deploy all my 
>> packages, then disable WPKG. Then I could run the WPKG updates on a 
>> fixed schedule and not at start-up.
>>
> I would use priority 0 in this case and priority 10 for the other ones.
> Generally speaking the priority id just an integer number and will be 
> sorted accordingly.
> 
> I don't think there should be any negative impact when using negative 
> priority, but keeping all priorities in the positive range doesn't hurt 
> either.
> 
> In more recent releases of WPKG the priority has lower impact on the 
> installation order, since you can specify dependencies, chain packages 
> and much more.
> 
> 
> -- 
> Stefan P.

Thank you for the helpful advise.

Regards,
Paul



More information about the wpkg-users mailing list