[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] Building hobbit 4.1.4 ~/client/Makefile should not execute "chown" when PKGBUILD is defined.



On Thu, 2005-08-04 at 00:33 +0200, Anton Burkhalter wrote:
> Hi,
> 
> It should be possible to use a make install without executing "chown" 
> and "chgrp".
> This is implemented in  ~/hobbitd/Makefile but not in ~/client/Makefile
> 
> ifndef PKGBUILD
>      chown $(BBUSER) ....
>      chgrp `$(IDTOOL) ...
> endif
> 
> I build standard packages on Solaris (pkgadd) and Tru64 (setld). It 
> would be great if this can be made with a non-privileged account.

I ran into that as well while building rpm's for Mandriva.  I also
separated the client part into a second RPM.  If anyone wants the
specfile I used, let me know.

-- 
Daniel J McDonald, CCIE # 2495, CNX, CISSP # 78281
Austin Energy

dan.mcdonald (at) austinenergy.com