On Thu, Jan 13, 2011 at 7:31 AM, Mister IT Guru misteritguru@gmx.com wrote:
I have an x86_64 box running Xen, so a paravirtualised guest has just been ordered for building a Mock Environment. I'm going to have to run to Google to learn more in the short space of time I have open to me, you guys seems to be nudging me in the right direction.
Mock is easy to use. You can install it with yum install mock. You will want to set the packager and dist variables in /etc/mock/centos-5-arch.cfg. As far as building SRPMS the command is as simple as
For i386 on a x86_64 box setarch i386 mock -r centos-5-i386.cfg --resultdir=/home/yourhomedir/mock/ package.srpm
For x86_64 mock -r centos-5-x86_64.cfg --resultdir=/home/yourhomedir/mock/ package.srpm
Ryan