Re: Centos5 compatibilities

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 4/18/07, Luciano Miguel Ferreira Rocha <strange@xxxxxxxxxxxxx> wrote:
On Wed, Apr 18, 2007 at 11:52:56AM -0700, Akemi Yagi wrote:
> On 4/18/07, Phil Schaffner <Philip.R.Schaffner@xxxxxxxx> 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>

Once the comps.xml file has been copied, can't you just run:

createrepo -g /path/to/comps.xml

Or is the manual editing required?

Akemi
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux