Mailinglist Archive: opensuse-buildservice (306 mails)

< Previous Next >
Re: [opensuse-buildservice] How to add build task for i686 when OBS_SCHEDULER_ARCHITECTURES="i386 x86_64 ia64"
  • From: Adrian Schröter <adrian@xxxxxxx>
  • Date: Tue, 19 Jan 2010 10:19:56 +0100
  • Message-id: <201001191019.57153.adrian@xxxxxxx>
Am Dienstag, 19. Januar 2010 04:49:21 schrieb Jian Lee:
Hi,everybody

I'm have modified the obs-server to build for i386.
But some packages needed to build for i386 and i686 both,
eg kernel,glibc.

Have any idea to enable those package to build i386
and i686 both on i386 arch.

Check the glibc.i686 package in openSUSE:Factory. It is a nice trick
to avoid to build an entire i686 distro just for a few packages:

# eosc cat openSUSE:Factory glibc.i686 _link
<link package="glibc" cicount="copy">
<patches>
<topadd>
ExclusiveArch: i586 i686
BuildArch: i686
%{expand:%%global optflags %(echo &quot;%optflags&quot;|sed -e s/i586/i686/)}
</topadd>
</patches>
</link>

--

Adrian Schroeter
SUSE Linux Products GmbH
email: adrian@xxxxxxx

--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References