[opensuse-buildservice] How to add build task for i686 when OBS_SCHEDULER_ARCHITECTURES="i386 x86_64 ia64"
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. Thanks,all ---- Jian Lee [ http://jianlee.ylinux.org ] -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
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 "%optflags"|sed -e s/i586/i686/)} </topadd> </patches> </link> -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Hi, Adrian Thanks for your help, I've test your method, and it's worked! Because I was working on update 1.6 to 1.7, many problem need to solve, miss the right time to reply this topic, I'm sorry. Thanks,everyone! Adrian Schröter <adrian@suse.de> write:
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 "%optflags"|sed -e s/i586/i686/)} </topadd> </patches> </link>
---- Jian Lee [ http://jianlee.ylinux.org ] -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
Adrian Schröter
-
Jian Lee