[CentOS] build c7 packages for i686 using mock

Robin Lee robinlee.sysu at gmail.com
Fri Jan 30 10:19:01 UTC 2015


Hi,

Here's how my epel-7-i386.cfg mock file looks like:
http://fpaste.org/164110/19877702/raw/

Do note the 32bit packages are unofficial and unsupported. RedHat does not
support 32bit in EL7.

HTH
Lucian
Nux! <nux at li.nux.ro>
12/30/14


to CentOS


On Fri, Jan 30, 2015 at 10:38 AM, Peter <peter at pajamian.dhs.org> wrote:

> On 01/30/2015 11:56 AM, Gordon Messmer wrote:
> > This might be an embarrassingly simple question.  How are people
> > building multi-arch library packages on CentOS 7?  On older releases one
> > could "mock -r epel-6-i386" and "mock -r epel-6-x86_64" to build a
> > library twice.  With no 32-bit release, there's no epel-7-i386 target
> > for mock.  Specifying --target=i386 or --arch-i386 both fail.
> >
> > Do we have to set up the environment manually and rpm --rebuild inside
> > the mock root?
>
> copy the epel-7-x86_64.cfg file to epel-7-i386, and then tweak.  You can
> set the main CentOS repo to http://buildlogs.centos.org/c7.00.02/ or
> point it to the puias repos.
>
>
> Peter
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



More information about the CentOS mailing list