Date: Mon, 9 May 2005 13:23:36 +0200 From: Maxime Henrion <mux@FreeBSD.org> To: Daniel O'Connor <doconnor@gsoft.com.au> Cc: Giorgos Keramidas <keramida@linux.gr> Subject: Re: Using nvidia-driver with 6-x/CURRENT Message-ID: <20050509112336.GD56827@elvis.mu.org> In-Reply-To: <200505092050.34347.doconnor@gsoft.com.au> References: <200505081828.08055.david.freebsd@verizon.net> <200505091006.48132.doconnor@gsoft.com.au> <20050509100306.GB93542@orion.daedalusnetworks.priv> <200505092050.34347.doconnor@gsoft.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Daniel O'Connor wrote: > On Mon, 9 May 2005 19:33, Giorgos Keramidas wrote: > > On 2005-05-09 10:06, Daniel O'Connor <doconnor@gsoft.com.au> wrote: > > > Also, if we're talking about the port can it modify the makefile so > > > the KLD installs into /boot/kernel? Going into /boot/modules is a > > > recipe for user frustration :( > > > > I understand that arguments for or against of either choise exist. > > > > For instance, by installing in /boot/modules one easily avoids the > > problem of having to manually copy some files or reinstall the port from > > scratch after *every* installkernel. > > Sure, but the downside for putting it in /boot/kernel is that you don't get X > the next boot. The downside for /boot/modules is that your system crashes > when X starts, or earlier :) > > I think it would be possible to have ports install source code when they are > installed to rebuild the module when the kernel is built. I have some > prototype code for this but it doesn't always work and I don't have the > knowledge of the kernel make environment to get it working 100% :( > > What I have so far is here.. > http://www.dons.net.au/~darius/port-kld.diff > http://www.dons.net.au/~darius/port-makefile.txt IIRC, bsdimp@ has already committed such a feature. You are supposed to use the PORTS_MODULES make variable. Cheers, Maxime
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050509112336.GD56827>