Re: what is the proper group require in comp.xml
seth vidal <[email protected]> Tue, 29 Mar 2011 17:16:13 -0400
| Newsgroups | gmane.linux.rpm.metadata |
|---|---|
| Message-ID | <1301433373.12844.74.camel@oliver> |
On Tue, 2011-03-29 at 23:10 +0200, Farkas Levente wrote: > 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? > not really. kickstart %package selection doesn't allow conditional inclusion based on version it is installing. you'll want two kickstarts and/or 2 different %packages sections. -sv