Hello, I'm wanting to create a yum repo for what is at this point rpm development for personal use, i might eventually open it up but right now i have some rpms i need to debug. I've installed createrepo but the docs i've read indicate that i have to install the base distros rpms, in repos i've seen via a webview they only had packages that they built in the repo. Thanks. Dave.
On Fri, Sep 11, 2009 at 9:23 AM, Dave dave.mehler@gmail.com wrote:
Hello, I'm wanting to create a yum repo for what is at this point rpm development for personal use, i might eventually open it up but right now i have some rpms i need to debug. I've installed createrepo but the docs i've read indicate that i have to install the base distros rpms, in repos i've seen via a webview they only had packages that they built in the repo. Thanks. Dave.
All you need for createrepo to work is one or more RPM's. You don't need the base distros rpms.
Hi, That's what i was thinking, i was unable to find any setup docs for this type of setup. Dave
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Michael Semcheski Sent: Friday, September 11, 2009 9:26 AM To: CentOS mailing list Subject: Re: [CentOS] Creating a personal repo
On Fri, Sep 11, 2009 at 9:23 AM, Dave dave.mehler@gmail.com wrote:
Hello, I'm wanting to create a yum repo for what is at this point rpm development for personal use, i might eventually open it up but right now i have some rpms i need to debug. I've installed createrepo but the docs i've read indicate that i have to install the base distros rpms, in repos i've seen via a webview they only had packages that they built in the repo. Thanks. Dave.
All you need for createrepo to work is one or more RPM's. You don't need the base distros rpms.
At Fri, 11 Sep 2009 09:32:43 -0400 CentOS mailing list centos@centos.org wrote:
Hi, That's what i was thinking, i was unable to find any setup docs for this type of setup. Dave
Create a directory, say myrepro:
mkdir -vp myrepro/i386
Put one or more rpms there:
cp foo-1.0.0-1.i386.rpm bar-1.2.3-99_el4.i386.rpm \ megasuper-kernel-2.6.25-686_el99.i686.rpm myrepro/i386
Then run createrepo:
createrepo myrepro/i386
Done.
'man createrepo' gives you what you need.
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Michael Semcheski Sent: Friday, September 11, 2009 9:26 AM To: CentOS mailing list Subject: Re: [CentOS] Creating a personal repo
On Fri, Sep 11, 2009 at 9:23 AM, Dave dave.mehler@gmail.com wrote:
Hello, I'm wanting to create a yum repo for what is at this point rpm development for personal use, i might eventually open it up but right now i have some rpms i need to debug. I've installed createrepo but the docs i've read indicate that i have to install the base distros rpms, in repos i've seen via a webview they only had packages that they built in the repo. Thanks. Dave.
All you need for createrepo to work is one or more RPM's. You don't need the base distros rpms.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On 09/11/2009 08:26 AM, Michael Semcheski wrote:
On Fri, Sep 11, 2009 at 9:23 AM, Dave <dave.mehler@gmail.com mailto:dave.mehler@gmail.com> wrote:
Hello, I'm wanting to create a yum repo for what is at this point rpm development for personal use, i might eventually open it up but right now i have some rpms i need to debug. I've installed createrepo but the docs i've read indicate that i have to install the base distros rpms, in repos i've seen via a webview they only had packages that they built in the repo. Thanks. Dave.
All you need for createrepo to work is one or more RPM's. You don't need the base distros rpms.
If you are going to build RPMS for more than one arch you will likely want this:
|-4-| | |-i386-| | | |-RPMS | | | | | |-x86_64-| | | |-RPMS | | | |-SRPMS | | |-5-| |-i386-| | |-RPMS | | |-x86_64-| | |-RPMS | |-SRPMS
You would put all your RPMS in the applicable RPMS dir, .src.rpms in SRPMS, and run creeaterepo in the i386, x86_64 directory (also in the SRPM directory if you want to provide those downloadable via YUM). This keeps your RPMS directories clean.
You might want to put in something between 5 and i386 (like we do for updates, extras, centosplus, os, etc.).
But as is posted above, you do not need any other RPMS but yours in your repo.
When people create a repo, they may want Closure of their repo in conjunction with other repos. For example, you may want to have a repo that has closure with "CentOS OS and Extras" ... which means that all your RPMS can be installed with your Repo, CentOS os and CentOS extras enabled. Maybe you also want EPEL or Dag also enabled to be able to install your RPMs. (You can check closure with repoclosure from yum-utils).
Hi, Thanks for your reply. Given this setup how would i enable apache to web view the repo so users can directory browse? Thanks. Dave.
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Johnny Hughes Sent: Friday, September 11, 2009 9:47 AM To: CentOS mailing list Subject: Re: [CentOS] Creating a personal repo
On 09/11/2009 08:26 AM, Michael Semcheski wrote:
On Fri, Sep 11, 2009 at 9:23 AM, Dave <dave.mehler@gmail.com mailto:dave.mehler@gmail.com> wrote:
Hello, I'm wanting to create a yum repo for what is at this point rpm development for personal use, i might eventually open it up but right now i have some rpms i need to debug. I've installed createrepo but the docs i've read indicate that i have to install the base distros rpms, in repos i've seen via a webview they only had packages that they built in the repo. Thanks. Dave.
All you need for createrepo to work is one or more RPM's. You don't need the base distros rpms.
If you are going to build RPMS for more than one arch you will likely want this:
|-4-| | |-i386-| | | |-RPMS | | | | | |-x86_64-| | | |-RPMS | | | |-SRPMS | | |-5-| |-i386-| | |-RPMS | | |-x86_64-| | |-RPMS | |-SRPMS
You would put all your RPMS in the applicable RPMS dir, .src.rpms in SRPMS, and run creeaterepo in the i386, x86_64 directory (also in the SRPM directory if you want to provide those downloadable via YUM). This keeps your RPMS directories clean.
You might want to put in something between 5 and i386 (like we do for updates, extras, centosplus, os, etc.).
But as is posted above, you do not need any other RPMS but yours in your repo.
When people create a repo, they may want Closure of their repo in conjunction with other repos. For example, you may want to have a repo that has closure with "CentOS OS and Extras" ... which means that all your RPMS can be installed with your Repo, CentOS os and CentOS extras enabled. Maybe you also want EPEL or Dag also enabled to be able to install your RPMs. (You can check closure with repoclosure from yum-utils).
2009/9/11 Dave dave.mehler@gmail.com:
Hello, I'm wanting to create a yum repo for what is at this point rpm development for personal use, i might eventually open it up but right now i have some rpms i need to debug. I've installed createrepo but the docs i've read indicate that i have to install the base distros rpms, in repos i've seen via a webview they only had packages that they built in the repo.
Sounds to me like you want createrepo
$ yum install createrepo $ man createrepo
Cheers,
Dave...