Thanks for the info, i'll keep eye on that list to see what you discover. I used genhdlist as per v4.x which worked fine with a few tweaks. I've now got a pretty solid respin.
However i came across the redhat buildsys list (https://www.redhat.com/archives/fedora-buildsys-list/) which i didn't know about until recently and then discovered Pungi on it (https://hosted.fedoraproject.org/projects/pungi) for Fedora which looks very promising.
I'm going to have a go at getting it to work for CentOS 5 at some point, as really there shouldn't be too much in the way of differences and it purports to do full dependency resolution.
Cheers Nick
(Prior apologies for the long company sponsored signature line that i always get told off about :)
Charlie Brady wrote:
On Fri, 16 Mar 2007, Nicholas Byrne wrote:
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?
I've just started looking at yumdownloader to perform that task. I've found a --installroot patch for it, so that (hopefully and apparently) it will not use the build system's rpmdb and will start with a clean slate. It runs to completion, and does *some* dependency resolution, but it's clearly deficient. There are *lots* of unsatisfied dependencies in the resultant package set.
I think this is an issue to take to the yum-devel list. I'll try bleeding edge yum/yum-utils and see if it does a better job.
Charlie
This e-mail is the property of Quadriga Worldwide Ltd, intended for the addressee only and confidential. Any dissemination, copying or distribution of this message or any attachments is strictly prohibited.
[Rest of very silly email disclaimer snipped. Bah! Lawyers!] _______________________________________________ CentOS-devel mailing list CentOS-devel@centos.org http://lists.centos.org/mailman/listinfo/centos-devel
This e-mail is the property of Quadriga Worldwide Ltd, intended for the addressee only and confidential. Any dissemination, copying or distribution of this message or any attachments is strictly prohibited.
If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer.
Messages sent to and from Quadriga may be monitored.
Quadriga cannot guarantee any message delivery method is secure or error-free. Information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses.
We do not accept responsibility for any errors or omissions in this message and/or attachment that arise as a result of transmission.
You should carry out your own virus checks before opening any attachment.
Any views or opinions presented are solely those of the author and do not necessarily represent those of Quadriga.