Monday, February 20, 2012

How to Create your own Yum Repo Package Group

The big part was figuring out the xml syntax for it.
<group>
<id>groupidname</id>
<description>Description of what this group does</description>
<default>true</default>
<uservisible>yes</uservisible>
<packagelist>
<packagereq type="mandatory">What you want yum to search for </packagereq>
</packagelist>
</group>
Once created, run:

createrepo -g yumgroups.xml /*LOCATION OF REPODATA*/

For more information on a yum repo see http://roadzy.blogspot.com/2012/02/how-to-build-yum-directory-in-centos-43.html


Tested on CentOS 4.3

No comments:

Post a Comment

ShareThis