On 2016-02-08, Andreas Kusalananda Kähäri <[email protected]> wrote:

> I'm trying to get DPB to use the _pbuild user, but I'm failing.  I
> managed, with "-D FETCH_USER=_pfetch", to use the _pfetch user for
> fetching distfiles, but DPB insists on using my personal user account
> for actual building, even though I set "-D BUILD_USER=_pbuild".

I use this, together with WRKOBJDIR=/usr/obj/ports in /etc/mk.conf:
  
FETCH_USER=_pfetch
LOG_USER=naddy
STARTUP=install -d -o _pbuild -g _pbuild /usr/obj/ports
DEFAULT build_user=_pbuild stuck=4000
localhost
...

Possibly -D BUILD_USER doesn't work, I don't quite remember.
It took me some experimenting to arrive at a working configuration.

-- 
Christian "naddy" Weisgerber                          [email protected]

Reply via email to