The process of attaching YUM group metadata to a local repository is simple:
Create an XML file in the groups format used by YUM. You can either just type it out manually using any text editor, or run the
yum-groups-manager
command fromyum-utils
.Deploy the created group file to the
repodata
folder.Artifactory will automatically perform the following steps:
Create the corresponding
.gz
file and deploy it next to the deployed group XML file.Invoke a YUM calculation on the local repository.
Attach the group information (both the XML and the
.gz
file) to therepomd.xml
file.
Make sure the group file names are listed in the YUM Group File Names field under the Basic tab of the repository configuration. This tells Artifactory which files should be attached as repository group information.