Changes between Version 2 and Version 3 of YumGroups

Show
Ignore:
Author:
skvidal (IP: 24.211.246.61)
Timestamp:
11/04/08 20:56:36 (9 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • YumGroups

    v2 v3  
    6262 
    6363=== Step 1 === 
    64   You can either open a text editor and create the xml file matching or you 
    65   can run the yum-groups-manager command from yum-utils. An example file is  
    66   available here:  
    67    fill-in-example-url 
     64  You can either open a text editor and create the groups xml file manually or you 
     65  can run the yum-groups-manager command from yum-utils.  
     66 
    6867  Run the groups-create command like this: 
    69     yum-grous-manager --outfile=mygroups.xml 
     68    {{{ 
     69       yum-groups-manager -n "My Group" --id=mygroup --save=mygroups.xml --mandatory yum glibc rpm 
     70    }}} 
    7071 
    71   Follow the prompts then you'll have a functional groups file for yum in 
    72   mygroups.xml 
     72And you'll end up with a file like this: 
     73 
     74{{{ 
     75<!DOCTYPE comps PUBLIC "-//Red Hat, Inc.//DTD Comps info//EN" "comps.dtd"> 
     76<comps> 
     77  <group> 
     78   <id>mygroup</id> 
     79   <default>False</default> 
     80   <uservisible>True</uservisible> 
     81   <display_order>1024</display_order> 
     82   <name>My group</name> 
     83   <description></description> 
     84    <packagelist> 
     85      <packagereq type="mandatory">glibc</packagereq> 
     86      <packagereq type="mandatory">rpm</packagereq> 
     87      <packagereq type="mandatory">yum</packagereq> 
     88    </packagelist> 
     89  </group> 
     90</comps> 
     91}}} 
     92 
    7393 
    7494=== Step 2 ===