Subject: Re: Support for non-root installs
To: None <tech-pkg@netbsd.org>
From: None <xs@nitric.net>
List: tech-pkg
Date: 02/20/2002 12:48:26
on Wed, Feb 20, 2002 at 11:36:11AM +0000, Jonathan Perkin wrote:
> Is this something someone is working on, if not would other people want
> it enough for me to work on it?  If I set $LOCALBASE to somewhere I have
> full write access to, pkg_* and source builds should just run, rather
> than trying to su (which my admin is a bit annoyed with :) or just failing
> with "Warning: not superuser, can't run mtree." or similar.

Does setting SU_CMD in /etc/mk.conf to something like /bin/sh -c work?
Or just running make install SU_CMD='/bin/sh -c'