Yury V. Zaytsev wrote: > On Thu, 2011-08-18 at 12:41 +0200, Ljubomir Ljubojevic wrote: >> Hi. >> >> I am using mrepo-0.8.7-2.el5 on CentOS 5.6, and I am unable to >> incorporate groups from downloaded comps.xml. My base repo is called >> "os", so for CentOS 5 repos I use "os-comps.xml. >> >> Is there any new/special procedure or do I have to use some new mrepo >> version and from where? > > mrepo: > > os_components = ( > glob.glob(pathjoin(self.dir + '/disc1/*/base/comps.xml')) + # RHEL 4 > glob.glob(pathjoin(self.dir + '/disc1/*/repodata/comps-*-core.xml')) + # > RHEL 5 > glob.glob(pathjoin(self.dir + '/disc1/repodata/*-comps-*.xml')) # RHEL 6 > ) > > I don't know what it is called on CentOS 5, but if you know we can add it. >
73a3b7e0741eba6cafa8d5404b02565060e7f2293caab10657074186c48e713b-c6-i386-comps.xml and 2a7e0c1da38a40e2961c0cec6acca8b8446d974b1fc055216ebde88bb4a19eb9-c6-x86_64-comps.xml, so they should be used the same as RHEL 6. In the version I use, I would place <base-repo-name>-comps.xml (os-comps.xml) next to the ISO files in main folder, and it worked for CentOS 5 ISO. It still works for CentOS 5 repositories/ISO, but not for CentOS 6 repositories/ISO. In CentOS 6 repo I have both original xml files AND os-comps.xml, but I still do not have Groups. I just now looked, and my installed mrepo rpm is from EPEL repository, ver 0.8.7-2. Is this given code in 0.8.7? or only in newer code? Should I recompile rpm from current code or wait for official compilation? Thanks. -- Ljubomir Ljubojevic (Love is in the Air) PL Computers Serbia, Europe Google is the Mother, Google is the Father, and traceroute is your trusty Spiderman... StarOS, Mikrotik and CentOS/RHEL/Linux consultant _______________________________________________ users mailing list [email protected] http://lists.repoforge.org/mailman/listinfo/users
