svn commit: r299393 - in head: . share/mk
Hans Petter Selasky
hps at selasky.org
Wed May 25 13:23:50 UTC 2016
On 05/11/16 00:32, John Baldwin wrote:
> Author: jhb
> Date: Tue May 10 22:32:23 2016
> New Revision: 299393
> URL: https://svnweb.freebsd.org/changeset/base/299393
>
> Log:
> Change the default installation directory for modules to /boot/modules.
>
> Kernel installs always override KMODDIR when installing modules, so
> this default setting is only used for standalone module builds. Many
> out-of-tree modules manually override KMODDIR already to avoid placing
> modules in /boot/kernel. This now makes that behavior the default.
>
> Discussed on: arch@
> Reviewed by: imp
> Relnotes: yes
>
> Modified:
> head/UPDATING
> head/share/mk/bsd.own.mk
>
> Modified: head/UPDATING
> ==============================================================================
> --- head/UPDATING Tue May 10 22:28:06 2016 (r299392)
> +++ head/UPDATING Tue May 10 22:32:23 2016 (r299393)
> @@ -31,6 +31,14 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 11
> disable the most expensive debugging functionality run
> "ln -s 'abort:false,junk:false' /etc/malloc.conf".)
>
> +20160510:
> + Kernel modules compiled outside of a kernel build now default to
> + installing to /boot/modules instead of /boot/kernel. Many kernel
> + modules built this way (such as those in ports) already overrode
> + KMODDIR explicitly to install into /boot/modules. However,
> + manually building and installing a module from /sys/modules will
> + now install to /boot/modules instead of /boot/kernel.
> +
> 20160414:
> The CAM I/O scheduler has been committed to the kernel. There should be
> no user visible impact. This does enable NCQ Trim on ada SSDs. While the
>
> Modified: head/share/mk/bsd.own.mk
> ==============================================================================
> --- head/share/mk/bsd.own.mk Tue May 10 22:28:06 2016 (r299392)
> +++ head/share/mk/bsd.own.mk Tue May 10 22:32:23 2016 (r299393)
> @@ -165,11 +165,7 @@ BINGRP?= wheel
> BINMODE?= 555
> NOBINMODE?= 444
>
> -.if defined(MODULES_WITH_WORLD)
> KMODDIR?= /boot/modules
> -.else
> -KMODDIR?= /boot/kernel
> -.endif
> KMODOWN?= ${BINOWN}
> KMODGRP?= ${BINGRP}
> KMODMODE?= ${BINMODE}
>
Just a small nit:
There is a comment in bsd.own.mk which needs updating too:
> #
> # KMODDIR Base path for loadable kernel modules
> # (see kld(4)). [/boot/kernel]
--HPS
More information about the svn-src-all
mailing list