[Rpm-metadata] Fwd: Patch for finding group file.

Jesse Keating jkeating at redhat.com
Wed Feb 7 14:24:30 UTC 2007


Forgot to send this to list.  Background:

/usr/bin/createrepo -g 
Fedora/base/comps.xml -q /srv/pungi/development/6.90/Desktop/i386/os

call results in this error:

Error: 
groupfile /srv/pungi/development/6.90/Desktop/i386/Fedora/base/comps.xml 
cannot be found.

In genpkgmetadata, the final directory gets chopped off and put into a 
variable, however this variable isn't referenced again when trying to find 
the comps file, if the location of the comps file is given relatively instead 
of absolutely (and you're not doing a split repo create, that gets it right).  
This patch should solve that.

----------  Forwarded Message  ----------

Subject: Patch for finding group file.
Date: Tuesday 06 February 2007 17:08
From: Jesse Keating <jkeating at redhat.com>
To: skvidal at linux.duke.edu

I don't _think_ this breaks... much.

--
Jesse Keating
Release Engineer: Fedora

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

-- 
Jesse Keating
Release Engineer: Fedora
-------------- next part --------------
A non-text attachment was scrubbed...
Name: group-not-found.patch
Type: text/x-diff
Size: 567 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/rpm-metadata/attachments/20070207/b0bac397/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/rpm-metadata/attachments/20070207/b0bac397/attachment.pgp 


More information about the Rpm-metadata mailing list