pkgsrc-Changes archive

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

Re: CVS commit: pkgsrc/mk/pbulk



On Tue, Aug 01, 2017 at 02:35:36PM +0200, Joerg Sonnenberger wrote:
> On Sun, Jul 30, 2017 at 11:52:00PM +0100, Sevan Janiyan wrote:
> > On 07/29/17 19:57, Joerg Sonnenberger wrote:
> > > It is. Your problem is most likely that you have not given permissions
> > > for the unprivileged account to *write* to it.
> > 
> > I blow away /usr/pkg /usr/pbulk & the contents of /mnt & start afresh by
> > executing pbulk.sh, there is no manual setup.
> > 
> > The script sets up the permissions in /mnt as such (taken from FreeBSD):
> > 
> > % ls -l /mnt/
> > total 44
> > drwxr-xr-x  742 root   wheel  20480 Jul 28 06:23 bulklog
> > drwxr-xr-x  693 root   wheel  18944 Jul 19 05:58 bulklog.old
> > drwxr-xr-x    3 pbulk  users    512 Jun 24 14:06 packages
> > 
> > Still need to create the /mnt/packages/All.
> > 
> > Don't take my word for it, confirm it for youreself.
> > To reproduce:
> > 1) setup pbulk env by running pkgsrc/mk/pbulk/pbulk.conf
> > 2) to save time, run a limited bulk build with a single package listed .
> > 
> > Does ${packages}/All get created for you automatically or does it fail flat?
> 
> Of course it does. I never created a All subdirectory in years. I don't
> use pbulk.sh, so no idea if that is messing things up somehow.

For the pbulk side of things:
pkgsrc/pkgtools/pbulk/files/pbulk/scripts/pkg-build line 42.

For the pkgsrc side of things (i.e. doing make package):
pkgsrc/mk/pkgformat/pkg/package.mk line 45 and 67.

Joerg



Home | Main Index | Thread Index | Old Index