[openfabrics-ewg] Some observations on the OFED build process

Jeff Squyres (jsquyres) jsquyres at cisco.com
Wed May 17 07:42:46 PDT 2006


Ditto what Roland says.

But, FWIW, I was having problems with the SRPMs that were generated when
I wasn't root.  Specifically, even though I have the following in my
%files list:

%defattr(-, root, root, -)

Generated SRPMS would have the userid/group "jsquryes"/"jsquyres" in
them.  For OFED, I reverted to su'ing before making SRPMs -- if someone
knows a better way, I would greatly prefer it (since su'ing just to make
RPMs seems silly).



> -----Original Message-----
> From: openfabrics-ewg-bounces at openib.org 
> [mailto:openfabrics-ewg-bounces at openib.org] On Behalf Of 
> Roland Dreier (rdreier)
> Sent: Wednesday, May 17, 2006 10:31 AM
> To: Tziporet Koren
> Cc: openfabrics-ewg at openib.org
> Subject: Re: [openfabrics-ewg] Some observations on the OFED 
> build process
> 
>     Tziporet> The default RPMs build environment of Redhat requires
>     Tziporet> root permission. Since we don't want to develop our own
>     Tziporet> environment we requested root permission.
> 
>     Tziporet> If you want to change this you may sent us a patch.
> 
> Sorry, I don't have time to understand the build process enough to
> produce a patch.  But changing %_topdir should be enough to build RPMS
> as non-root.  For example I have the following in my .rpmmacros
> 
> %_topdir %(echo $HOME)/rpmbuild
> 
> which puts all generated files under ~/rpmbuild.
> 
>  - R.
> _______________________________________________
> openfabrics-ewg mailing list
> openfabrics-ewg at openib.org
> http://openib.org/mailman/listinfo/openfabrics-ewg
> 



More information about the ewg mailing list