Date: Tue, 12 May 2020 17:01:00 +1000 From: Dewayne Geraghty <dewayne@heuristicsystems.com.au> To: freebsd-questions@freebsd.org Subject: Re: Moving sources (base/ports) from /usr Message-ID: <b7426651-3f0e-8752-4f64-61cbfb0ec236@heuristicsystems.com.au> In-Reply-To: <20200508210444.7945f4ba@kaperfahrt.nebelschwaden.de> References: <20200508210444.7945f4ba@kaperfahrt.nebelschwaden.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Ede, Something like this might help, where you construct: /import/src /import/ports then on as needed basis, you can mount_nullfs /import/src /usr/src mount_nullfs /import/ports /usr/ports I have something like this when I'm using one source (for src and ports) on a virtual disk under virtualbox (on Win) across multiple VM's. This also means I don't have to fiddle with variables. Cheers. On 9/05/2020 5:04 am, Ede Wolf wrote: > Hi, > > As the title implies, I would like to move everything src/build related > from /usr to a different folder, let's call it /import. And since it > won't be mounted permanently, I'd rather like not to use links. That would certainly work, but it's ugly. > > So I am looking for a more clean way of archiving this, but currently I am having trouble to find a > comprehensive list of the variables, that would need to be set, and more over, where the proper place woulf be, to do so. > More often than not it is not /etc/make.conf > > For MAKEOBJDIRPREFIX it is src-env.conf, but what about the others? > > SRCDIR, PORTSDIR, WRKDIRPREFIX, DISTFILES, WRKSRC? Is that list correct and/or complete? > > Is there any documentation providing a decent overview of the > environment (base as well as ports)? Or maybe anyone is running this > kind of setup as well? > > Thanks for helping out > > Ede > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b7426651-3f0e-8752-4f64-61cbfb0ec236>