Discussion:
what is the proper group require in comp.xml
Farkas Levente
2011-03-29 20:33:04 UTC
Permalink
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.
--
Levente "Si vis pacem para bellum!"
seth vidal
2011-03-29 20:51:19 UTC
Permalink
Post by Farkas Levente
hi,
i'd like to add a new group to comp.xml file which is just a collection
<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>
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.

-sv
seth vidal
2011-03-29 21:16:13 UTC
Permalink
Post by Farkas Levente
Post by seth vidal
Post by Farkas Levente
hi,
i'd like to add a new group to comp.xml file which is just a collection
<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>
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.
base-x
gnome-desktop
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
Farkas Levente
2011-03-29 21:10:18 UTC
Permalink
Post by seth vidal
Post by Farkas Levente
hi,
i'd like to add a new group to comp.xml file which is just a collection
<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>
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!"
Loading...