Sandor W. Sklar | 1 Feb 05:09
Picon
Favicon

Re: Creating a yum repo (via cobbler) from "scratch"?

Your instructions were perfect!  Thanks so much ... I really  
appreciate the help!

	-s-

On Jan 31, 2008, at 6:16 PM, Adam Rosenwald wrote:

> Sandor,
>
> * Set "yum_post_install_mirror" to "1" in /var/lib/cobbler/settings.
>
> * Create a directory somewhere for your repository.  Create a base  
> directory:
>
>     mkdir -p /my/repo/base
>
> * Copy any and all custom or third-party RPMs to the base directory.
>
> * Create the metadata for the repository ("yum install createrepo"  
> if you don't have the utility).  This may not be necessary, but this  
> will ensure that the metadata is available:
>
>     createrepo /my/repo # note that the target is not the base  
> directory
>
> * Add the repo to cobbler.
>
>     cobbler repo add --mirror=/my/repo --name=name_of_your_repo
>
> *  Sync repositories:
(Continue reading)


Gmane