[Mageia-sysadm] Deploying updated packages on buildsystem
nicolas vigier
boklm at mars-attacks.org
Thu Apr 7 20:26:14 CEST 2011
On Thu, 07 Apr 2011, Olivier Blin wrote:
> nicolas vigier <boklm at mars-attacks.org> writes:
>
> > Hello,
> >
> > Sometimes we need to deploy updated packages on the buildsystem, for
> > instance for youri, iurt, mgarepo, rpmlint, puppet or others ...
> >
> > At the moment we rebuild the package somewhere and install it manually.
> > Or sometimes don't rebuild the package but only copy the modified files
> > (for mdv-youri-submit for instance).
>
> When I have to deploy packages for the BS hosts running Mandriva 2010.1
> x86_64, I usually build the packages with iurt from jonund (IIRC, it's
> the most powerful BS node, so it is less likely to impact normal BS
> users).
>
> Here's a command that can be used (on jonund as iurt user) to rebuild
> a src.rpm for Mandriva 2010.1 (potentially with BR from contrib):
>
> iurt --chrooted-urpmi -m contrib/release main/release -- \
> http://repository.mageia.org/mandriva/ -r mandriva2010.1 x86_64 \
> ./mga-mirrors-0.05-1.mga1.src.rpm
>
> Maybe we could agree on this process to build package updates?
> (i.e. using this iurt command as iurt user on jonund)
Thanks.
Yes we should agree on a process for this.
We can create a repository in /distrib/mandriva/mgaservers2010.1/x86_64.
>
> > I think it would be convenient to have a repository where we can submit
> > packages using the build system, and enable this repository on all
> > the servers.
> >
> > Unfortunatly, we are still using Mandriva 2010.1 on the servers, so it
> > is more complicate. What we can do :
> > - Make this repository based on mandriva 2010.1 on the build system
> > - Make this repository based on cauldron on the build system, and use
> > it on our servers running 2010.1. Some packages will not work because
> > of different version of python or perl or other dependency.
> > But we can still use it for youri and rpmlint-mageia-policy, and
> > rebuild/install the others manually.
> > - Don't do it now and wait until we migrated the servers to Mageia
>
> It would be convenient to have a repository with our 2010.1 packages,
> using packages built for cauldron won't work.
>
> Though, maybe it's overkill to setup the whole chain (svn, submit,
> youri) for this.
Yes. It would be nice to have a repository with svn, submit, youri, but
we can wait until we're running Mageia on the servers to do that.
More information about the Mageia-sysadm
mailing list