Re: Recompiling source rpms for i386, i686 and x86_64 on the same box?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



> For the 3 arches you want they could all be done under mock in a x86_64
> environment. Under

Indeed, I build 32 and 64 bits RPMS on an x86_64 CentOS 5.5 with mock.

In order to deal with the multi arch, I call mock as follow:

setarch $ARCH mock --arch=$ARCH -r <mock config file> --debug $SRPM

Note that I pass the --arch argument to mock, but also had to put
additionally setarch before the actual call.

On a side note, use the CentOS mock (in extras), not the one from EPEL.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux