[Spacewalk-list] sync yum group information into Spacewalk

Frank Mikkelsen Blohmé frank.mikkelsen.blohme at axis.com
Wed Dec 12 10:37:50 UTC 2012


Thank you James!
This was the information I was missing to get it working.
After rerunning createrepo with the -g <group file> and rerunning spacewalk-repo-sync it works just fine. Our clients can get yum group information!

Best regards

Frank Mikkelsen Blohmé
Axis Communications AB - IT Group
Sweden, Lund

From: spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of James Hogarth
Sent: den 12 december 2012 10:13
To: spacewalk-list at redhat.com
Subject: Re: [Spacewalk-list] sync yum group information into Spacewalk


Where should the yum group xml file be placed in the above example for spacewalk-repo-sync to find it and sync it into our Spacewalk 1.8 server? I have tried to name it comps.xml and place it in the /var/www/html/repository/inhouse_stored/repodata directory, didn't work. I have tried to compress it using gzip so its name becomes comps.xml.gz, still didn't work.



It's not enough to just have that file there - it has to be referenced in the repomd.xml file  (similar with the security update information) for spacewalk-repo-sync to pick it up...

If you use createrepo to make a local repo and include the -g switch it should include the relevant information in repomd.xml for the groups present...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20121212/8939ae67/attachment.htm>


More information about the Spacewalk-list mailing list