Subject: Re: objdirs and readonly /usr/src
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Bill Studenmund <wrstuden@netbsd.org>
List: current-users
Date: 02/25/2004 12:29:09
--U+BazGySraz5kW0T
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Feb 21, 2004 at 08:55:41PM +0100, Manuel Bouyer wrote:
> On Sat, Feb 21, 2004 at 06:38:41PM +0000, Dick Davies wrote:
> > /dev/wd0a on / type ffs (local)
> > kernfs on /kern type kernfs (local)
> > lb.tenfour:/usr/src on /usr/src type nfs (read-only)
> > lb.tenfour:/usr/pkgsrc on /usr/pkgsrc type nfs (read-only)
> >=20
> > I've just tried a
> >=20
> > ./build.sh -M /usr/obj tools and that seems to be chugging away
> > merrily so I'll see how that goes. Whats the equivalent mk.conf for
> > -M ?
>=20
> You can't set this in mk.conf, as the build.sh script won't parse it.
> I created small wrappers which calls build.sh with the right options for =
this.

More to the point (for everyone else who is watching), the problem with=20
putting it in mk.conf is that the obj dir has been chosen by the time we=20
look in /etc/mk.conf, so nothing in there can effect the obj dir.

Take care,

Bill

--U+BazGySraz5kW0T
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD4DBQFAPQWVWz+3JHUci9cRApp7AJ4t7zJNfM7RqJ9U03clw6EofcUCaQCWNW+p
YmpEDHyz7Y6sQMpISwLzNg==
=/udR
-----END PGP SIGNATURE-----

--U+BazGySraz5kW0T--