ports/60081: x11/nvidia driver should install in to /boot/modules on 5.x
Nik Clayton
nik at crf-consulting.co.uk
Tue Dec 9 17:10:26 UTC 2003
>Number: 60081
>Category: ports
>Synopsis: x11/nvidia driver should install in to /boot/modules on 5.x
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Dec 09 09:10:13 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Nik Clayton
>Release: FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
-current, updated about 8 hours ago.
>Description:
x11/nvidia-driver installs nvidia.ko in to /boot/kernel, with these two
lines in the pkg-plist:
%%FREEBSD5%%@cwd /boot/kernel
nvidia.ko
Recompiling and installing a new kernel will blow away /boot/kernel. This
is bad.
>How-To-Repeat:
N/A
>Fix:
According to hier(7), the module_path definition in
/boot/defaults/loader.conf, and the note at the bottom of:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html
third party modules should install in to /boot/modules/ instead. So a simple
-%%FREEBSD5%%@cwd /boot/kernel
+%%FREEBSD5%%@cwd /boot/modules
to the pkg-plist file should suffice.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list