[packagers] becoming a packager

Dag Wieers dag at wieers.com
Thu Nov 22 19:22:24 CET 2007


On Tue, 20 Nov 2007, J Robinson wrote:

> Yup, rebuilding mediawiki.src.rpm with epel5 enabled succeeded -- it
> installed ocaml from the epel5 repo in order to build mediawiki.

ocaml is in RPMforge, if you start building packages against EPEL (which
is by design incompatible with other 3rd party efforts) they are not
guaranteed to work with RPMforge.


> Any tips on setting up a custom repo with my custom rpms? I'm planning to:
> * make a dir called /home/admin/mirrors/localrepo/centos/5/
> * make dirs called SRPMS, i386, and x86_64 inside there, and
> * place the new rpms in the appropriate dirs (and the src.rpm in the SRPMS dir)
>
> I think that then I also need to run createrepo on
> /home/admin/mirrors/localrepo/centos/5/x86_64 (and
> /home/admin/mirrors/localrepo/centos/5/i386, if there are rpms there)
>
> Then, assuming I serve /home/admin/mirrors/localrepo from
> http://mirrormydom.com/mirrors/localrepo, set up a localrepo.repo file
> in /etc/yum.repos.d like this:
>
> [localrepo]
> name=localrepo
> baseurl=http://mirror.mydom.com/mirrors/localrepo/centos/5/$basearch/
> enabled=1
> priority=20
>
> Does that all look correct, or am I missing something, or getting
> something wrong?

I there a reason why you think this is incorrect ?

-- 
--   dag wieers,  dag at wieers.com,  http://dag.wieers.com/   --
[Any errors in spelling, tact or fact are transmission errors]


More information about the packagers mailing list