A hack to rebuild port KLDs during kernel builds

Daniel O'Connor doconnor at gsoft.com.au
Mon Nov 29 21:51:48 PST 2004


On Tue, 30 Nov 2004 15:58, M. Warner Losh wrote:
> In message: <200411301456.19900.doconnor at gsoft.com.au>
>
>             "Daniel O'Connor" <doconnor at gsoft.com.au> writes:
> : On Tue, 30 Nov 2004 14:35, M. Warner Losh wrote:
> : > Can't you just add modules override with absolute path name?
> :
> : I don't think so, because..
>
> MODULES_OVERRIDE is different.  It can take a list of paths to
> upgrade.

Ahh I see. Hmm, that could work but I think it fits in better with the kernel 
build if you can treat port installed modules just like their base 
counterparts.

> : If you already have the port installed it will barf unless you set
> : FORCE_PKG_REGISTER.
>
> That's just a minor bug I've not yet fixed.

minor? :)

> : Also, it would force an upgrade of the port which isn't necessarily
> : a good thing (eg I can't use the latest nvidia port because the 6113
> : driver blows up on my laptop).
>
> That's up to the user to manage :-(

How though? I think it makes much more sense to install the source code you 
know works so rebuilding your kernel doesn't need distfiles (which might 
require net access) or potentially forcing a port to be upgraded from 
something you know works.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20041130/72c33040/attachment.bin


More information about the freebsd-hackers mailing list