Example comps.xml file
From WBITT's Cooker!
Example customised comps.xml file
This comps file, when used with a custom build of RHEL3ESU3 produced a single disc with 695 packages totalling 492MB. The ISO file produced was 602MB.
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE comps PUBLIC "-//Red Hat, Inc.//DTD Comps info//EN" "comps.dtd"> <comps> <!-- <meta> --> <!-- Meta information will go here eventually --> <!-- </meta> --> <group> <id>core</id> <name>Core</name> <default>true</default> <description>Smallest possible installation</description> <uservisible>false</uservisible> <packagelist> <packagereq type="default">ash</packagereq> <packagereq type="mandatory">basesystem</packagereq> <packagereq type="mandatory">bash</packagereq> <packagereq type="mandatory">coreutils</packagereq> <packagereq type="mandatory">cpio</packagereq> <packagereq type="mandatory">e2fsprogs</packagereq> <packagereq type="mandatory">ed</packagereq> <packagereq type="mandatory">file</packagereq> <packagereq type="mandatory">filesystem</packagereq> <packagereq type="mandatory">glibc</packagereq> <packagereq type="mandatory" basearchonly="true">grub</packagereq> <packagereq type="mandatory">hdparm</packagereq> <packagereq type="mandatory">hotplug</packagereq> <packagereq type="mandatory">initscripts</packagereq> <packagereq type="mandatory">iproute</packagereq> <packagereq type="mandatory">iprutils</packagereq> <packagereq type="mandatory">iputils</packagereq> <packagereq type="mandatory">kbd</packagereq> <packagereq type="mandatory">kernel</packagereq> <packagereq type="mandatory">libgcc</packagereq> <packagereq type="mandatory">libtermcap</packagereq> <packagereq type="mandatory">losetup</packagereq> <packagereq type="mandatory">passwd</packagereq> <packagereq type="mandatory">procps</packagereq> <packagereq type="mandatory">raidtools</packagereq> <packagereq type="mandatory">readline</packagereq> <packagereq type="mandatory">redhat-logos</packagereq> <packagereq type="mandatory">rootfiles</packagereq> <packagereq type="mandatory">rpm</packagereq> <packagereq type="mandatory">setserial</packagereq> <packagereq type="mandatory">setup</packagereq> <packagereq type="mandatory">sysklogd</packagereq> <packagereq type="mandatory">SysVinit</packagereq> <packagereq type="mandatory">termcap</packagereq> <packagereq type="mandatory">util-linux</packagereq> <packagereq type="mandatory">vim-minimal</packagereq> <packagereq type="mandatory">authconfig</packagereq> <packagereq type="mandatory">kudzu</packagereq> <packagereq type="default">redhat-config-mouse</packagereq> <packagereq type="mandatory">shadow-utils</packagereq> <packagereq type="mandatory">redhat-release</packagereq></packagelist> </group> <group> <id>base</id> <name>Base</name> <description/> <uservisible>false</uservisible> <default>true</default> <grouplist> <groupreq>core</groupreq> </grouplist> <packagelist> <packagereq type="mandatory">acl</packagereq> <packagereq type="default" basearchonly="yes">apmd</packagereq> <packagereq type="default" basearchonly="yes">acpid</packagereq> <packagereq type="default">aspell</packagereq> <packagereq type="mandatory">at</packagereq> <packagereq type="mandatory">attr</packagereq> <packagereq type="mandatory">authconfig</packagereq> <packagereq type="mandatory">bc</packagereq> <packagereq type="mandatory">bind-utils</packagereq> <packagereq type="mandatory">bzip2</packagereq> <packagereq type="mandatory">crontabs</packagereq> <packagereq type="mandatory">cyrus-sasl-plain</packagereq> <packagereq type="mandatory">cyrus-sasl-gssapi</packagereq> <packagereq type="default">devlabel</packagereq> <packagereq type="mandatory">dhclient</packagereq> <packagereq type="mandatory">diffutils</packagereq> <packagereq type="mandatory">dos2unix</packagereq> <packagereq type="default">dosfstools</packagereq> <packagereq type="mandatory">ethtool</packagereq> <packagereq type="mandatory">eject</packagereq> <packagereq type="default">fbset</packagereq> <packagereq type="default">finger</packagereq> <packagereq type="default">ftp</packagereq> <packagereq type="default">gpm</packagereq> <packagereq type="default">iptables</packagereq> <packagereq type="default" basearchonly="true">iscsi</packagereq> <packagereq type="default">jpackage-utils</packagereq> <packagereq type="default" basearchonly="true">kernel-utils</packagereq> <packagereq type="default">krbafs-utils</packagereq> <packagereq type="default">krb5-workstation</packagereq> <packagereq type="mandatory">kudzu</packagereq> <packagereq type="mandatory">laus</packagereq> <packagereq type="default">lftp</packagereq> <packagereq type="mandatory">lha</packagereq> <packagereq type="mandatory">logrotate</packagereq> <packagereq type="mandatory">lsof</packagereq> <packagereq type="mandatory">lslk</packagereq> <packagereq type="default">logwatch</packagereq> <packagereq type="mandatory">mailcap</packagereq> <packagereq type="mandatory">man</packagereq> <packagereq type="default">man-pages</packagereq> <packagereq type="mandatory">mdadm</packagereq> <packagereq type="mandatory">mgetty</packagereq> <packagereq type="mandatory" basearchonly="true">mkbootdisk</packagereq> <packagereq type="mandatory">mt-st</packagereq> <packagereq type="default">mtools</packagereq> <packagereq type="default">mtr</packagereq> <packagereq type="default">nano</packagereq> <packagereq type="default">nc</packagereq> <packagereq type="mandatory">ncompress</packagereq> <packagereq type="mandatory">netconfig</packagereq> <packagereq type="mandatory">netdump</packagereq> <packagereq type="default">nss_ldap</packagereq> <packagereq type="mandatory">ntsysv</packagereq> <packagereq type="default">openssh-clients</packagereq> <packagereq type="default">pam_krb5</packagereq> <packagereq type="default">pam_passwdqc</packagereq> <packagereq type="default">pam_smb</packagereq> <packagereq type="mandatory">parted</packagereq> <packagereq type="default">pax</packagereq> <packagereq type="mandatory">pciutils</packagereq> <packagereq type="mandatory">pinfo</packagereq> <packagereq type="default">prctl</packagereq> <packagereq type="mandatory">prelink</packagereq> <packagereq type="mandatory">psacct</packagereq> <packagereq type="mandatory">quota</packagereq> <packagereq type="default">redhat-config-network-tui</packagereq> <packagereq type="mandatory">redhat-config-securitylevel-tui</packagereq> <packagereq type="mandatory">redhat-logos</packagereq> <packagereq type="mandatory">redhat-lsb</packagereq> <packagereq type="mandatory">rsync</packagereq> <packagereq type="default">jwhois</packagereq> <packagereq type="default">schedutils</packagereq> <packagereq type="default">setarch</packagereq> <packagereq type="default">setuptool</packagereq> <packagereq type="default">sendmail</packagereq> <packagereq type="default">sharutils</packagereq> <packagereq type="mandatory">slocate</packagereq> <packagereq type="default">specspo</packagereq> <packagereq type="default">sudo</packagereq> <packagereq type="default">stunnel</packagereq> <packagereq type="default">symlinks</packagereq> <packagereq type="default">sysreport</packagereq> <packagereq type="default">tcp_wrappers</packagereq> <packagereq type="mandatory">telnet</packagereq> <packagereq type="default">tftp</packagereq> <packagereq type="mandatory">traceroute</packagereq> <packagereq type="mandatory">time</packagereq> <packagereq type="mandatory">tmpwatch</packagereq> <packagereq type="default">up2date</packagereq> <packagereq type="mandatory">utempter</packagereq> <packagereq type="default">tcpdump</packagereq> <packagereq type="default">openssh-server</packagereq> <packagereq type="default">wget</packagereq> <packagereq type="mandatory">unix2dos</packagereq> <packagereq type="mandatory">unzip</packagereq> <packagereq type="mandatory">vim-common</packagereq> <packagereq type="mandatory">vixie-cron</packagereq> <packagereq type="mandatory">zip</packagereq> <packagereq type="mandatory">freetype</packagereq> <packagereq type="mandatory">rpm-python</packagereq> <packagereq type="mandatory">cups-libs</packagereq> <packagereq type="mandatory">rhnlib</packagereq> <packagereq type="mandatory">libtiff</packagereq> <packagereq type="mandatory">pyOpenSSL</packagereq> <packagereq type="mandatory">ntp</packagereq> </packagelist> </group> <group> <id>printing</id> <uservisible>true</uservisible> <default>true</default> <name>Printing Support</name> <packagelist> <packagereq type="mandatory">a2ps</packagereq> </packagelist> </group> <group> <id>base-x</id> <uservisible>true</uservisible> <default>true</default> <name>X Window System</name> <grouplist> <groupreq>printing</groupreq> </grouplist> <packagelist> <packagereq type="default">authconfig-gtk</packagereq> <packagereq type="mandatory">bitmap-fonts</packagereq> <packagereq type="default">firstboot</packagereq> <packagereq type="mandatory">desktop-backgrounds-basic</packagereq> <packagereq type="default">desktop-backgrounds-extra</packagereq> <packagereq type="default">gdm</packagereq> <packagereq type="default">openssh-askpass</packagereq> <packagereq type="default">redhat-config-date</packagereq> <packagereq type="default">redhat-config-network</packagereq> <packagereq type="default">redhat-config-services</packagereq> <packagereq type="default">redhat-config-users</packagereq> <packagereq type="default">redhat-config-xfree86</packagereq> <packagereq type="default">redhat-logviewer</packagereq> <packagereq type="default">redhat-config-printer-gui</packagereq> <packagereq type="default">redhat-config-packages</packagereq> <packagereq type="mandatory">switchdesk</packagereq> <packagereq type="optional">tkinter</packagereq> <packagereq type="default">usermode-gtk</packagereq> <packagereq type="default">xterm</packagereq> <packagereq type="mandatory">XFree86</packagereq> <packagereq type="mandatory">XFree86-font-utils</packagereq> <packagereq type="mandatory">XFree86-tools</packagereq> <packagereq type="mandatory">XFree86-twm</packagereq> <packagereq type="mandatory">XFree86-xauth</packagereq> <packagereq type="mandatory">XFree86-75dpi-fonts</packagereq> <packagereq type="mandatory">XFree86-100dpi-fonts</packagereq> <packagereq type="mandatory">xinitrc</packagereq> <packagereq type="default">XFree86-xdm</packagereq> <packagereq type="default">up2date-gnome</packagereq> <packagereq type="default">rhn-applet</packagereq> <packagereq type="default">XFree86-Xvfb</packagereq> <packagereq type="default">rhgb</packagereq> <packagereq type="mandatory">redhat-config-xfree86</packagereq> <packagereq type="mandatory">atk</packagereq> <packagereq type="mandatory">gtk2</packagereq> <packagereq type="mandatory">libglade2</packagereq> <packagereq type="mandatory">pango</packagereq> <packagereq type="mandatory">pygtk2</packagereq> <packagereq type="mandatory">pygtk2-libglade</packagereq> <packagereq type="mandatory">qt</packagereq> <packagereq type="mandatory">redhat-artwork</packagereq> <packagereq type="default">xsri</packagereq> <packagereq type="default">XFree86-Mesa-libGLU</packagereq> <packagereq type="default">libjpeg</packagereq> <packagereq type="default">libmng</packagereq> <packagereq type="default">libstdc++</packagereq> </packagelist> </group> <group> <id>dialup</id> <uservisible>false</uservisible> <default>true</default> <name>Dialup Networking Support</name> <packagelist> <packagereq type="mandatory">minicom</packagereq> <packagereq type="mandatory">statserial</packagereq> </packagelist> </group> <group> <id>gnome-desktop</id> <uservisible>true</uservisible> <default>true</default> <name>GNOME Desktop Environment</name> <grouplist> <groupreq>base-x</groupreq> </grouplist> <packagelist> <packagereq type="default">at-spi</packagereq> <packagereq type="mandatory">control-center</packagereq> <packagereq type="mandatory">desktop-file-utils</packagereq> <packagereq type="mandatory">desktop-printing</packagereq> <packagereq type="default">eog</packagereq> <packagereq type="default">file-roller</packagereq> <packagereq type="default">gconf-editor</packagereq> <packagereq type="default">gedit</packagereq> <packagereq type="default">gftp</packagereq> <packagereq type="default">gimp-print-utils</packagereq> <packagereq type="mandatory">gnome-applets</packagereq> <packagereq type="default">gnome-audio</packagereq> <packagereq type="mandatory">gnome-icon-theme</packagereq> <packagereq type="default">gnome-media</packagereq> <packagereq type="mandatory">gnome-panel</packagereq> <packagereq type="mandatory">gnome-session</packagereq> <packagereq type="default">gnome-system-monitor</packagereq> <packagereq type="mandatory">gnome-terminal</packagereq> <packagereq type="default">gnome-themes</packagereq> <packagereq type="mandatory">gnome-utils</packagereq> <packagereq type="default">gnome-vfs2-extras</packagereq> <packagereq type="default">gtk-engines</packagereq> <packagereq type="default">gtk2-engines</packagereq> <packagereq type="default">ggv</packagereq> <packagereq type="default">magicdev</packagereq> <packagereq type="default">hwbrowser</packagereq> <packagereq type="mandatory">metacity</packagereq> <packagereq type="mandatory">nautilus</packagereq> <packagereq type="mandatory">nautilus-media</packagereq> <packagereq type="mandatory">switchdesk-gnome</packagereq> <packagereq type="mandatory">yelp</packagereq> </packagelist> </group> <!-- META GROUPS --> <group> <id>workstation-common</id> <uservisible>false</uservisible> <name>Workstation Common</name> <grouplist> <groupreq>base</groupreq> <groupreq>base-x</groupreq> </grouplist> </group> <group> <id>server</id> <uservisible>false</uservisible> <name>Server</name> <grouplist> <groupreq>base</groupreq> </grouplist> <packagelist> <packagereq type="mandatory">caching-nameserver</packagereq> </packagelist> </group> <group> <id>graphical-internet</id> <name>Graphical Internet</name> <uservisible>true</uservisible> <default>true</default> <packagelist> <packagereq type="mandatory">indexhtml</packagereq> </packagelist> </group> <!-- group hierarchy --> <grouphierarchy> </grouphierarchy> </comps>