[wpkg-users] Clarification on Package depends

Tomasz Chmielewski mangoo at wpkg.org
Thu Jan 25 20:55:40 CET 2007


Jeff wrote:
> I'm seeking some additional clarification on the operation of the 'depends'
> in the package xml files..
> 
> I'm aware of the recently created bug #54 regarding the package dependancies
> not being resolved during a /install..
> 
> So, using the same xml files format as in that bug:
> --
> packages.xml:
> ?<?xml version="1.0" encoding="UTF-8"?>
> <packages>
> <package id="a" name="a" revision="4" reboot="false" priority="10">
> <check ..." />
> <depends package-id="b"/>
> <check ..." />
> <install cmd='...' />
> <remove cmd='...' />
> </package>
> <package id="b" name="b" revision="4" reboot="false" priority="10">
> <check ..." />
> <install cmd='...' />
> <remove cmd='...' />
> </package>
> </packages>
> --
> 
> It would seen reasonable to expect (especially using the /syncronize'
> option), that one would include package "a" in the profile, which would add
> package "b" and ensure that package "b" is installed before installing
> package "a".  Is this correct ???
> 
> One could also argue that both packages "a" and "b" need to be included in
> the profile, but "a" would only be installed if "b" is installed.. maybe ??

You can of course include both packages, but including just package "a" 
should be sufficient.


> I would like to be able to control the order that certain packages are
> installed, and ensure that they do get installed in a specific order..  The
> 'priority' option has been some help, however there are times when one
> package cannot complete its installation, and wpkg continue to try and
> install the next package, which does proceed..
> 
> Additionally, is there any way to (as an example) get wpkg to force a reboot
> at the end if there were any packages that did NOT successfully install.??
> It appears that if some packages do not install, then wpkg ends up leaving
> them until the next reboot when it tries again..

If you want such a feature, please post it to bugzilla on 
http://bugs.wpkg.org, it shouldn't be very hard to add from a technical POV.


-- 
Tomasz Chmielewski
http://wpkg.org






_______________________________________________
wpkg-users mailing list
wpkg-users at lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users



More information about the wpkg-users mailing list