Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Oct 2004 01:16:11 -0600
From:      Robin Schoonover <end@endif.cjb.net>
To:        "Jason C. Wells" <jcw@highperformance.net>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Proper Way to Install OpenAFS Kernel Module
Message-ID:  <20041002011611.4a2eae96@zork>
In-Reply-To: <D22FD5CB1A8AE4C83B897265@[192.168.1.16]>
References:  <D22FD5CB1A8AE4C83B897265@[192.168.1.16]>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 01 Oct 2004 19:17:18 -0700
"Jason C. Wells" <jcw@highperformance.net> wrote:
> Is there a pre-existing means in the ports system for installing a
> kernel module?
> 
> OpenAFS builds a kernel module.  I need to get it installed outside of
> $PREFIX into /boot.  I can hack a little script, but I would prefer to
> use existing functionality.
> 

Take a look at how x11/nvidia-driver and net/nvnet do it. 
(@cwd in pkg-plist in particular) Those ports do pretty much exactly the
same thing you want to do.  (So you can see that there isn't much
for preexisting functionality).

Don't forget to put your kernel module in /boot/modules, not
/boot/kernel, otherwise it'll get nuked on kernel install (nvnet does
this wrong)

-- 
Robin Schoonover (aka End)
#
# Health is merely the slowest possible rate at which one can die.
#



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041002011611.4a2eae96>