[CentOS] yam help
Bowie Bailey
Bowie_Bailey at BUC.com
Fri Sep 15 19:56:29 UTC 2006
Dag Wieers wrote:
> yOn Fri, 15 Sep 2006, Bowie Bailey wrote:
>
> > I am trying to use yam to create a repo based on the 4.4 CDs. I
> > have copied the contents of the CDs to /var/dist/CentOS-4.4-i386.
> > No matter what I try, yam always creates an emtpy repo.
>
> This is the wrong mailinglist. See the Yam website for the correct
> mailinglist.
>
>
> > This is my current yam.conf file:
> >
> > [main]
> > srcdir = /var/yam
> > wwwdir = /var/www/yam
> > arch = i386
> >
> > [centos]
> > name = CentOS $release ($arch)
> > release = 4
> > arch = i386
> > metadata = repomd
> > os = file:///var/dist/CentOS-4.4-i386/CentOS/
>
> Yam can handle the ISO files directly. Look at the examples that come
> with Yam. There is no need to copy the file from the ISO files.
I'll try that again. The first time I tried it, I was intending to
share the repo with nfs and the ISO mounts caused problems with that.
I've since switched to http.
But shouldn't there be a way to do this with the directory? I thought
that was what the file:// format was for?
--
Bowie
More information about the CentOS
mailing list