diff options
author | emaste <emaste@FreeBSD.org> | 2015-09-24 16:55:22 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2015-09-24 16:55:22 +0000 |
commit | 8cd489b2187168a5e2b12134a0f7a264d28c296a (patch) | |
tree | 24e5b130418217763b4ff65b60b93a0d8fe028c4 /etc | |
parent | f83f810204d0b669882ea126592b3ef4a3eabf3e (diff) | |
download | FreeBSD-src-8cd489b2187168a5e2b12134a0f7a264d28c296a.zip FreeBSD-src-8cd489b2187168a5e2b12134a0f7a264d28c296a.tar.gz |
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
Diffstat (limited to 'etc')
-rw-r--r-- | etc/mtree/BSD.debug.dist | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/mtree/BSD.debug.dist b/etc/mtree/BSD.debug.dist index 7504a88..9a5ef7a 100644 --- a/etc/mtree/BSD.debug.dist +++ b/etc/mtree/BSD.debug.dist @@ -9,6 +9,8 @@ bin .. boot + kernel + .. .. lib geom |