Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Feb 2008 21:17:17 +0100
From:      Gary Jennejohn <gary.jennejohn@freenet.de>
To:        freebsd-ports@freebsd.org
Subject:   Re: Ports .ko installation directory
Message-ID:  <20080207211717.246e263a@peedub.jennejohn.org>
In-Reply-To: <20080207174107.GA94398@dragon.NUXI.org>
References:  <20080207174107.GA94398@dragon.NUXI.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 7 Feb 2008 09:41:07 -0800
"David O'Brien" <obrien@freebsd.org> wrote:

> Do we have a standard for where .ko modules should be installed?
> 
> I've found the sysutils/pmap port to be pretty cool - I almost think we
> should bring it into the base system.
> Anyway, it installs into /boot/kernel (unless MODULES_WITH_WORLD is
> defined), which to me is just wrong.  What if I've named mine /boot/foo?
> Its perfectly reasonable.  /boot/<KERNEL> is for a kernel build.
> 
> Looking around it seems most (all other?) ports install into
> /boot/modules.  I really don't like the inconsistency - if I have to
> reinstall all my Ports .ko's after installing a new kernel than so be it.
> But it should be the case for all - not making it so I have to remember
> to do it for only one or two.
> 
> Not being sure what the vast majority of Ports maintainers/developers use,
> I wanted to check if /boot/modules was our de-facto standard or something
> else.
> 

It seems that three ports use %D/modules and ten explicitly use /boot/modules
in pkg-plist. I didn't look at Makefiles or shell scripts.

I personally think that only ports (like nvidia-driver) which need to
be loaded from loader.conf should be in /boot/modules.

---
Gary Jennejohn



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