Discussion:
A few questions about the 'groups.xml' file
何焜
2014-04-21 10:21:59 UTC
Permalink
Hi,

I have some questions and I have tried to find the answers of them
from the official website of
createrepo(http://createrepo.baseurl.org/wiki), but it writes "FIXME The
specification needs better and more current documentation and needs to be
included here. :)". So I need yours' helps.

Q1:Is there any specification
or document about the 'GROUPS.XML.[GZ]' and 'GROUPS.XML'. We knew that
using createrepo -g groups.xml can product 'GROUPS.XML.[GZ]' and add it
into the repodata, but who products the original 'GROUPS.XML' group file?
And what is the specification of the 'GROUPS.XML' file?

Q2: The rpm
package have a "group tag" , we can get it by 'rpm -qi' command. Also, the
'GROUPS.XML' used by 'createrepo -g' also make a defination of package
groups. What the differences between them?

Thanks!

--


-------------------------

䜕焜
䞭标蜯件有限公叞
研发䞭心测试䞭心
地址北京垂海淀区北四环西路9号银谷倧厊20层
电话010-516599557013
手机18612253344
邮箱***@cs2c.com.cn
Tim Lauridsen
2014-04-23 05:33:28 UTC
Permalink
Q1:Is there any specification or document about the '*groups.xml.[gz]*'
and '*groups.xml*'. We knew that using createrepo -g groups.xml can
product '*groups.xml.[gz]' *and add it into the repodata, but who
products the original '*groups.xml'* group file? And what is the
specification of the '*groups.xml*' file?
I dont think there is a clear decription of the format anywhere, try
search for comps.xml or look here
http://docs.fedoraproject.org/en-US/Fedora/14/html/Software_Management_Guide/ch08s03.html
Q2: The rpm package have a "group tag" , we can get it by 'rpm -qi'
command. Also, the '*groups.xml*' used by 'createrepo -g' also make a
defination of package groups. What the differences between them?
rpm group tags and comps.xml groups are 2 unrelated things, comps.xml
groups is not used by rpm, it is used by package managers like yum and
linux installers like anaconda

basicly comps.xml is just a way to define a group of packagenames there can
be used i kickstart files

Tim

Loading...