]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Install kernel debug data under /usr/lib/debug
authorEd Maste <emaste@FreeBSD.org>
Thu, 24 Sep 2015 16:55:22 +0000 (16:55 +0000)
committerEd Maste <emaste@FreeBSD.org>
Thu, 24 Sep 2015 16:55:22 +0000 (16:55 +0000)
commit05117b57a54ab6c5a6442b162dff3da3c9d0b36d
tree24e5b130418217763b4ff65b60b93a0d8fe028c4
parent6c2acea5641bc76072d69543c275bd24d7be2dde
Install kernel debug data under /usr/lib/debug

This avoids needing a large boot partition / file system in order to
accommodate multiple kernels, and provides consistency with userland
debug. This also simplifies the process of moving kernel debug files
to a separate package and installing them on demand.

In addition, change kernel debug file extension to .debug, to match
userland debug files.

When using the supported kernel installation method the
/usr/lib/debug/boot/kernel directory will be renamed (to kernel.old)
as is done with /boot/kernel.

Developers wishing to maintain the historical behavior of installing
debug files in /boot/kernel/ can set KERN_DEBUGDIR="" in src.conf(5).

Reviewed by: bdrewery, brooks, imp, markj
Relnotes: yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D1006
UPDATING
etc/mtree/BSD.debug.dist
share/man/man7/hier.7
sys/conf/kern.post.mk
sys/conf/kmod.mk