[Mageia-dev] help wanted for building a buildnode-in-a-VM

Maarten Vanraes maarten.vanraes at gmail.com
Thu Mar 10 01:49:47 CET 2011


Op donderdag 10 maart 2011 00:22:36 schreef nicolas vigier:
> On Thu, 10 Mar 2011, Maarten Vanraes wrote:
> > Hi,
> > 
> > for the purpose of testing package building locally;
> > 
> >  - you're a careful packager and test out everything locally before
> >  submitting - you're a novice packager and want to practise
> > 
> > i would like to make a VM that acts like a buildnode, with the following
> > 
> > requirements:
> >  - mageia system (not mandriva)
> >  - preferably headless
> >  - ssh on by default
> >  - building 32bit AND 64bit packages
> >  - using chroots to build and preferably having basesystem chroots on it.
> >  also
> > 
> > cleans up so buildrequires are properly tested, and lint checking and
> > what else a buildnode normally does.
> 
> This can be done using iurt.

so, how exactly does this work? iurt automagically build basesystem chroots 
and chrootbuilds stuff? is there any task that is needed for this kind of 
thing?

> >  - no signing step
> >  - still as small as possible so it can be put somewhere for downloading.
> >  - nice to have is possibly a sort of local submission tree so submitting
> > 
> > could also be practised.
> 
> You mean installing a full build system in a VM ?
> 
> You can try to do it using puppet, and the puppet modules on svn :
> http://svnweb.mageia.org/adm/

well, i donno, i don't know puppet and this is not meant to be used in a 
controlled environment, but just built like this and people use it locally. 
there is not really any need to remote control this machine. just a one time 
setup.

the local submission tree to test submission on, is a nice to have, but not 
really needed as such.

i was thinking on using the urpmi-proxy i made, to use the submissions AND a 
local mirror (built gradually) to use for chrooted insides. so that would mean 
the initial package would be very small, and tests with multiple local 
packages would still work. well.

but it's a nice to have...



More information about the Mageia-dev mailing list