[Mageia-dev] Iurt

Pascal Terjan pterjan at gmail.com
Fri Jun 3 20:26:46 CEST 2011


On Fri, Jun 3, 2011 at 11:19, Balcaen John <mikala at mageia.org> wrote:
> Le vendredi 3 juin 2011 05:57:14, Stefano Negro a écrit :
>> Hi.
>> I'd like to learn Iurt. Can someone teach me starting to configure the
>> testing environment and an example of src.rpm?
> 1) You need to have a local mirror of the distribution .

I don't think so
You need a fast one else creating chroots will be long, but can use an
url for the mirror given to iurt

> 2) install iurt via urpmi
>
> 3) give your build user the correct right to use /usr/sbin/iurt_root_command

Which is done in sudo config

> 4) configure the configuration file for example here to use a cauldron iurt i've
> got a   ~/.iurt.cauldron.conf
>
> {
>  local_home => "/home/mikala/build",
>  home => "/home/mikala/iurt",
>  upload => "/home/mikala",
>  local_upload => "/home/mikala",
>  repository => '/Public/pub/linux/Mageia/distrib',
>  admin => 'mikala at mageia.org',
>  sendmail => 0,
>  packager => 'Iurt the rebuild bot <mikala at mageia.org>',
> }
>
> You'll find here the result of the build & builds logs in /home/mikala/iurt
> /home/mikala/build is used for storing the chroot tarball
>
>
> 5) you can now start playing with iurt to build package
> on a x86_64 arch you can also build i586 packages using linux32
> aka
> linux32 iurt -r cauldron i586 your.src.rpm
> will build a i586 package
> iurt -r cauldron x86_64 your.src.rpm
> allow you to build the x86_64 package
>
>
> --
> Balcaen John
>
>


More information about the Mageia-dev mailing list