On Wed, 2007-04-18 at 12:18 -0700, Akemi Yagi wrote: > On 4/18/07, Luciano Miguel Ferreira Rocha <strange at nsk.no-ip.org> wrote: > > On Wed, Apr 18, 2007 at 11:52:56AM -0700, Akemi Yagi wrote: > > > On 4/18/07, Phil Schaffner <Philip.R.Schaffner at nasa.gov> wrote: > > > >On Tue, 2007-04-17 at 20:14 -0600, Peter Gross wrote: > > > > > > >http://wiki.centos.org/HowTos/CreateLocalRepos > > > > > > > >Phil > > > > > > A couple of questions or comments about number 4. How would you add > > > the comps.xml group support (createrepo line)? > > > > What I did for Fedora Core 6, that should work for Centos: > > 1. copy comps.xml from dvd_iso/repodata to local/repodata/comps.xml > > 2. copy <data type="group"> node from dvd_iso/repodata/repomd.xml to > > local/repodata/repomd.xml, and fix <location> node to point to local > > repodata/comps.xml: > > <data type="group"> > > <location xml:base="media://1161131669.029329#1" href="repodata/comps.xml"/> > > <checksum type="sha">dd46eef8b000e1b23430dace28c86061cf98ae74</checksum> > > <timestamp>1160767285</timestamp> > > </data> > > became: > > <data type="group"> > > <location href="repodata/comps.xml"/> > > <checksum type="sha">dd46eef8b000e1b23430dace28c86061cf98ae74</checksum> > > <timestamp>1160767285</timestamp> > > </data> > > Once the comps.xml file has been copied, can't you just run: > > createrepo -g /path/to/comps.xml > > Or is the manual editing required? wrt editing comps.xml ... it depends. If you are adding new packages that do not currently exist and want to get them to show up in an existing group, you will need to add them to that group ... If you want to add a new group, and put packages in there, then you would do that. If you are happy with the groups and package selections as they are ... then use current one. Thanks, Johnny Hughes -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://lists.centos.org/pipermail/centos/attachments/20070420/de3cc963/attachment-0005.sig>