On Fri, 2007-04-20 at 19:11 -0700, Akemi Yagi wrote: > On 4/20/07, Johnny Hughes <mailing-lists@xxxxxxxxxxxx> wrote: > > On Wed, 2007-04-18 at 12:18 -0700, Akemi Yagi wrote: > > > 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. > > I am only slowly understanding this... > > In other words, IF comps.xml was edited, THEN running createrepo -g > comps.xml makes sense ? Otherwise createrepo would not create anything > new. It will just re-create the repodata files. Did I put it > correctly? > comps.xml is the file that provides the GROUP functionality for the yum repodata files. So, if you add any packages, then you want to rerun createrepo (and use the -g comps.xml option). If you are only adding updates to current packages and not adding any ADDITIONAL packages, using the current comps.xml file is fine. If you are adding additional packages and not just updates to current packages ... AND IF you want them to show up in the selection menus for either a "yum groupinstall" ... OR IF you want them to show up as installable via anaconda ... OR IF you want them to show up in yumex or pirut (system-install-packages) in the "Group" areas then you will need to add any new GROUPS and/or PACKAGES into comps.xml. If you add additional packages to the repo and do not add them to comps.xml, then they will not be selectable via an anaconda install or via "yum groupinstall". They will be available under yumex and purit ... but not in any groups. Hopefully this explains the functionality of comps.xml
Attachment:
signature.asc
Description: This is a digitally signed message part
_______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos