pkgsrc-Users archive

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

Re: driving pbulk



On Wed, May 21, 2014 at 03:04:50PM +0100, Jonathan Perkin wrote:
> * On 2014-05-21 at 14:49 BST, Patrick Welche wrote:
> 
> > According to wiki.netbsd.org/tutorials/pkgsrc/pbulk I should pop
> > 
> > WRKOBJDIR=/tmp/obj/pkgsrc
> > 
> > inside the chroot's /etc/mk. I tried that, yet
> > 
> > sandbox# more /bulklog/digest-20121220/configure.log 
> > ...
> > mkdir: /usr/pkgsrc/pkgtools/digest/work: Permission denied
> > 
> > So, it looks as though pbulk isn't picking WRKOBJDIR up?
> > (Or should it go somewhere else?
> > 
> > sandbox# ls -ld /tmp/obj/pkgsrc
> > drwxr-xr-x  2 bulk  wheel  0 May 21 13:24 /tmp/obj/pkgsrc
> 
> WRKOBJDIR definitely works.  My best guess here is that you mean
> /etc/mk.conf,  when it should instead go in the mk.conf for the pbulk
> tools you built (e.g. /usr/pbulk/etc/mk.conf).

Sorry typo - I put WRKOBJDIR into sandbox/etc/mk.conf, and not in
sandbox/usr/pkg_bulk/etc/mk.conf .

wiki.netbsd.org/tutorials/pkgsrc/pbulk says "Last but not least,
you should configure your /etc/mk.conf (in the chroot !)."

So does this need to be changed?

What uses sandbox/etc/mk.conf and what uses sandbox/usr/pkg_bulk/etc/mk.conf?
e.g., where should I put PKG_OPTIONS for the packages built by pbulk?

Thanks,

Patrick


Home | Main Index | Thread Index | Old Index