>>> Reply on 27-11-2006 10:59:49 <<<

> Dominique Leuenberger wrote:
> > I'm using the build-script from Novell, which works quiet well.
(the
> > one from the BuildService)
> > I'm running it on a x86-64 SUSE Linux 10.1 box for the moment.
> > 
> > I have a directory setup of
> > 
> > /var
> >  | /buildrpms
> >  |  | /SL-10.2
> >  |  |  | x86_64
> >  |  |  | i586
> >  |  | /SL-10.1
> >  |  |  | x86_64
> >  |  |  | i586
> >  |  | /SL-10.0
> >  |  |  | x86_64
> >  |  |  | i586
> > 
> > and I switch base distro using the --rpms parameter.
> >  
> > So basically, I would like to decide to build a package for 10.1
> > x86-64, I do:
> >  
> > build --rpms=/var/buildrpms/SL-10.1 --arch=x86_64 specfile.spec
> > and if I decide for 10.1 i586, I do
> > build --rpms=/var/buildrpms/SL-10.1 --arch=i586 specfile.spec
> >  
> > Doing so seems to correctly define the architecture of the
installed
> > rpms in the build root, but the resulting ELF binaries, in either
of
> > these calls, result in being 64bit applications.
> >  
> > Is my idea of the mainusage of the build script wrong or is it
just
> my
> > usage of it?
> > Thanks for some help on this,
> 
> I guess it's solved if you start build with "linux32 build ..."
> If that's considered to be a hack or an official supported feature I
> don't know.
> It's also the way it's done within osc IMHO.
> 
> Wolfgang

Wolfgang,

Thanks for that trick/official hack or whatever.. as long as it
helps... I'll try to integrate this this evening in my build script
wrapped around and hopefully it works.. I'll let you know.

Dominique
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to