[CentOS-devel] anaconda dependency calculation?

John Summerfield debian at herakles.homelinux.org
Fri Mar 16 20:05:02 UTC 2007

Nicholas Byrne wrote:
> Hi all,
> I'm trying to find a tool that calculates all dependencies for a 
> specific package or group of packages for use with CentOS 5 (beta) with 
> the intention of putting together a custom single CD build of CentOS 5. 
> With CentOS 4 i used a python script that used the hdrlist module to 
> find all dependencies which borrowed code from a number of sources.
> I've looked at yumdownloader and how it checks dependencies (using the 
> --resolve option) but if i pass it the list of packages defined in say 
> the Base and the Core yum groups which generally form an absolute 
> minimal install i end up with about 200 packages. If i do a custom 
> install (using beta 1 disks) and deselect everything i end up with over 
> 300 packages.
> So i'm guessing anaconda calculates dependencies in a slightly different 
> way, can anyone point me to files/code where i should be looking to find 
> out?
> Thanks very much in advance for help
> Nick

Is installing off a webserver and inspecting the logs too difficult? It 
would tell you all the files used for that selection, and the order 
which you could then use to optimise file ordering on the ISO image.



-- spambait
1aaaaaaa at coco.merseine.nu  Z1aaaaaaa at coco.merseine.nu

Please do not reply off-list

More information about the CentOS-devel mailing list