[Rpm-metadata] what is the proper group require in comp.xml

Farkas Levente lfarkas at lfarkas.org
Tue Mar 29 21:10:18 UTC 2011


On 03/29/2011 10:51 PM, seth vidal wrote:
> On Tue, 2011-03-29 at 22:33 +0200, Farkas Levente wrote:
>> hi,
>> i'd like to add a new group to comp.xml file which is just a collection
>> of other groups. i'd like to add something like this:
>>   <group>
>>     <id>my-x11</id>
>>     <name>My X11 packages</name>
>>     <default>false</default>
>>     <uservisible>true</uservisible>
>>     <grouplist>
>>       <groupreq>base-x</groupreq>
>>       <groupreq>gnome-desktop</groupreq>
>>     </grouplist>
>>   </group>
>> and i'd like to install:
>> yum groupinstall my-x11
>> but it doesn't seems to working. i like to create a new group which
>> include all basic x11 packages (which called on different groups on el5,
>> el6 and fedora*). what is the proper format to define such group?
>> anyway is the any docs about is somewhere? i can't find it.
>> thanks in advance.
>> regards.
>>
> 
> comps stopped being able to handle groups of groups back in rhel4? Maybe
> earlier.
> 
> You cannot do the above with comps groups.

ok. i like to install on el5:
base-x
gnome-desktop
while on el6:
x11
basic-desktop
how can i do this with the same kickstart file (ie. the same group our
package list)? i think i create a new group for el5 and el6 which
includes different group from basic el5 and el6 groups and then simple
add that group.
is there any other way/tip?

-- 
  Levente                               "Si vis pacem para bellum!"


More information about the Rpm-metadata mailing list