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

Re: createrepo question



On Jan 25, 2008 3:20 PM, Michael A. Peters <mpeters mac com> wrote:
>
> Aldo Foot wrote:
> > Right now I'm running F8, kernel 2.6.23.8-63.fc8.
> >
> > I've setup a local yum repository, which gets updated via a cron job.
> > The log files show a number of newly downloaded updates.
> > No updates were showing using only my local repo until I ran
> > createrepo against the dir containing the base, updates and repodata
> > directories.
> > So, after a few days of no seeing anything now my system picked up 82
> > new updates. That was good.
> >
> > The question is:
> > Do I need to run createrepo every time new updates are downloaded?
> > Does createrepo need to update the metadata file for checksums and such?
> >
> > ~af
> >
>
> What do you use to mirror updates to local?
> I use rsync with kernel.org - the updated repodata files get pulled in
> as well, I do not have to regenerate them.
>
> I use rsync -avrt ${source} ${dest}
>
> --
> fedora-list mailing list
> fedora-list redhat com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>

I also use kernel.org in my shell script.
      Source="mirrors.kernel.org::fedora/updates/$releaserver/$basearch"
      destDir=/scr0/yum_repo/$releaserver/$basearch/updates
      rsync -avrt $Source $destDir
the above is just the important lines.

~af


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