The Comps.XML File
For a general overview of the new comps.xml file, please look at
the anaconda documentation.
This page will be geared for the general workgroup maintainer.
Fermi Linux 9.0.1 brought a new way of writting the comps file. (the file that
tells the installer what packages and groups to install). This new way is
to write the comps file in an XML format. While this makes the file much
more usefull and flexible, it also make editing it much more complex.
In order to help the workgroup maintainers this page has been written. It
will not contain an indepth view of the comps.xml file, but enough for them
to edit their own files with some degree of confidence.
First note that the file is now called comps.xml, not just comps as
before.
Second note is that the fields id, name, and
uservisible should not be changed. If you really want to change them,
let the distribution maintainers (aka Connie and/or Troy) know, as this
might have several odd side affects.
So here is an example
<!-- comments are put in this way -->
<!-- Please only make changes in the grouplist and packagelist -->
<group>
<id>consoleserver</id>
<name>ConsoleServer</name>
<uservisible>true</uservisible>
<grouplist>
<groupreq>fermi-desktop-small</groupreq>
<groupreq>fermi-kerberos</groupreq>
<groupreq>openssh-server</groupreq>
</grouplist>
<packagelist>
<!-- <packagereq type="mandatory">mandatory-package-id</packagereq> -->
<!-- <packagereq type="default">default-package-id</packagereq> -->
<!-- <packagereq type="optional">optional-package-id</packagereq> -->
<packagereq type="mandatory">ConsoleServer-tag</packagereq>
<packagereq
type="mandatory">zz_force_workgroups_cdrom</packagereq>
<packagereq type="mandatory">upsupdbootstrap</packagereq>
<packagereq type="default">icewm</packagereq>
<packagereq type="default">xlockmore</packagereq>
<packagereq type="default">expect</packagereq>
<packagereq type="default">rxvt</packagereq>
</packagelist>
</group>
So we see that the two sections that we can edit without worry is the entries in grouplist
and packagelist
- grouplist
- <groupreq>
- group id
These groups are the group id, not the group name
- </groupreq>
- To get the current list of the groups, you need to look at the full comps.xml file, or possibly
just the fermi part of it. These are located at
- packagelist
- <packagereq>
type=
- mandatory
These packages the installing person must install if they are installing this group.
- default
These packages, the installing person can uncheck and not install them if they want,
but they are checked by default in the 'details' screen.
- optional
These packages are not checked by default, but they show up on the 'details' screen.
- package id
This is the package name, without all the versions and revision numbers.
- </packagereq>
- To get the current list of the packages, you just need to go to the RPM area's and look. But
you will need to look at both the Scientific Linux RPM area, and the Fermilab RPM area, incase
Fermilab has some package that the base Scientific Linux does not.