[Yum] Yum groupinstall and optional packages

Brian Long brilong at cisco.com
Mon Oct 23 14:43:59 UTC 2006


Hello,

A long time ago, we had a thread about yum groupinstall and comps.xml
"optional" packages.  We still use the yum groupinstall (yum-2.4.3)
feature on our internally-built yum repos.  We build a repo called
"base" that contains the RHEL distro from RHN.  We also build repos of
our internal and third-party software.

The base repo uses the stock comps.xml from Red Hat to generate the yum
groups.  Therefore, there are mandatory, default and optional packages
in certain groups.

yum groupinstall pulls in all 3 types of packages, instead of taking the
Anaconda approach and only installing mandatory and default packages.

I was wondering how difficult it would be to configure yum (via plugin?)
to disregard the optional packages.

I remember Seth and Jeremy were involved in this discussion, but I don't
think we came up with a final solution.

Any help would be greatly appreciated.  I'm not a python guru, but I
could use an existing yum 2.4.x plugin as guidance if pointed in the
right direction.  Thanks!

/Brian/
-- 
       Brian Long                             |       |
       IT Infrastructure                  . | | | . | | | .
       Data Center Systems                    '       '
       Cisco Enterprise Linux                 C I S C O




More information about the Yum mailing list