Subject: Re: read-only pkgsrc
To: None <tech-pkg@netbsd.org>
From: Jan Schaumann <jschauma@netmeister.org>
List: tech-pkg
Date: 04/05/2004 10:37:30
--ChQOR20MqfxkMJg9
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hubert Feyrer <hubert@feyrer.de> wrote:
> On Mon, 5 Apr 2004, Jan Schaumann 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, ... ?
>=20
> I used pkgsrc in a read-only scenario last week, and it worked fine.

How did you set WRKOBJDIR or how did your system create the symlink if
the pkgsrc tree was read-only?

(Though I agree that auto-detection would be nice.)

-Jan

--=20
DON'T PANIC!

--ChQOR20MqfxkMJg9
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)

iD8DBQFAcW8qfFtkr68iakwRAu0cAKCk/lBPj0j1P8oULPojGZsjUFX91wCdEhli
Q9eI6wAD3sYD+uwzS6fULAk=
=Avo0
-----END PGP SIGNATURE-----

--ChQOR20MqfxkMJg9--