Subject: Re: read-only pkgsrc
To: Jan Schaumann <firstname.lastname@example.org>
From: Julio M. Merino Vidal <email@example.com>
Date: 04/05/2004 16:30:42
On Mon, 5 Apr 2004 10:17:20 -0400
Jan Schaumann <firstname.lastname@example.org> wrote:
> I think Grant mentioned this before: at the moment, pkgsrc can't be
> read-only because even with WRKOBJDIR set, it will create symlinks for
> the workdir. The attached patch fixes this by allowing the user to set
> PKGSRC_READONLY, and, if that is set, default to /tmp as
> WRKDIR_BASENAME. With PKGSRC_READONLY set, we might want to consider
> some more defaults: DISTDIR, PACKAGES, ... ?
I've used pkgsrc in read-only mode lots of times, without problems.
Just try pkg_comp, which (by default) mounts the real pkgsrc as read-only
Julio M. Merino Vidal <email@example.com>
The NetBSD Project - http://www.NetBSD.org/