[CentOS] Centos5 compatibilities

Wed Apr 18 19:01:50 UTC 2007
Luciano Miguel Ferreira Rocha <strange at nsk.no-ip.org>

On Wed, Apr 18, 2007 at 11:52:56AM -0700, Akemi Yagi wrote:
> On 4/18/07, Phil Schaffner <Philip.R.Schaffner at nasa.gov> wrote:
> >On Tue, 2007-04-17 at 20:14 -0600, Peter Gross wrote:
> 
> >http://wiki.centos.org/HowTos/CreateLocalRepos
> >
> >Phil
> 
> A couple of questions or comments about number 4. How would you add
> the comps.xml group support (createrepo line)?

What I did for Fedora Core 6, that should work for Centos:
1. copy comps.xml from dvd_iso/repodata to local/repodata/comps.xml
2. copy <data type="group"> node from dvd_iso/repodata/repomd.xml to
   local/repodata/repomd.xml, and fix <location> node to point to local
   repodata/comps.xml:
  <data type="group">
    <location xml:base="media://1161131669.029329#1" href="repodata/comps.xml"/>
    <checksum type="sha">dd46eef8b000e1b23430dace28c86061cf98ae74</checksum>
    <timestamp>1160767285</timestamp>
  </data>
   became:
  <data type="group">
    <location href="repodata/comps.xml"/>
    <checksum type="sha">dd46eef8b000e1b23430dace28c86061cf98ae74</checksum>
    <timestamp>1160767285</timestamp>
  </data>


-- 
lfr
0/0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20070418/c36e4ef5/attachment-0005.sig>