[tools] mrepo and fedora 7
Francois Aucamp
faucamp at csir.co.za
Mon Jul 2 12:23:42 CEST 2007
>>> On Sun, Jul 1, 2007 at 12:33 AM, Craig White wrote:
> I'm a bit confused.
>
> I noticed that
>
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/$releas
> ever/Everything/$basearch/os/
>
> (the base URL for fedora.repo from install) contains 'Everything'
which
> is quite a bit more (Extras?) than is part of the DVD.iso which is
what
> constitutes my RPMS.os constructed by mrepo
>
Yes, I also ran into this...
> # rpm - q mrepo
> mrepo- 0.8.4- 1.el5.rf
>
> I suppose I can have both listed on my local clients but it was the
> intent to keep all packages local so I'm thinking that there is a way
I
> can get 'Everything' locally without downloading everything that is
> already available from the DVD.iso?
Simple, really. Mount the F7 DVD ISO image, copy all the RPMs from
/mnt/your_image/Fedora to wherever the contents of your "os" repository
is. Next, update your f7 mrepo config to point "os" to the location of
the Fedora "Everything" repo (I use rsync for this), and update. The
stuff you copied from the DVD won't be overwritten, and "os" will be
extended to what is known as the the release "Everything" repository.
After fully updating, you should the "os" entry in the mrepo config to
simply point to the physical directory on disk (e.g. mrepo://$nick/os)
rather than the upstream location, since "everything" will never be
updated again, only "updates".
Of course, in this setup you are not using mrepo's "ISO mounting"
facility as I assume you did with FC6 and earlier. You can just symlink
the iso images to your /var/www/mrepo/f7-i386/ dir, if you want to make
those available for download.
Hope this helps!
-Francois
--
This message is subject to the CSIR's copyright, terms and conditions and
e-mail legal notice. Views expressed herein do not necessarily represent the
views of the CSIR.
CSIR E-mail Legal Notice
http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html
CSIR Copyright, Terms and Conditions
http://mail.csir.co.za/CSIR_Copyright.html
For electronic copies of the CSIR Copyright, Terms and Conditions and the CSIR
Legal Notice send a blank message with REQUEST LEGAL in the subject line to
CallCentre at csir.co.za.
This message has been scanned for viruses and dangerous content by MailScanner,
and is believed to be clean.
More information about the tools
mailing list