[Bug 264433] installkernel produces /boot/kernel directory over 500MB in size

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 03 Jun 2022 16:36:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264433

Mark Johnston <markj@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |markj@FreeBSD.org
             Status|New                         |Open

--- Comment #8 from Mark Johnston <markj@FreeBSD.org> ---
(In reply to Eugene Grosbein from comment #1)
> WITHOUT_KERNEL_SYMBOLS=

What this actually does is disable splitting of debug info into separate files
under /usr/lib/debug, so instead the debug info is kept in /boot/kernel.  The
name of the option (and its documentation in src.conf.5) is misleading.  To
omit debug info entirely you need to remove "makeoptions DEBUG=-g" from the
kernel configuration (or add some additional configuration to strip debug info
at installkernel time).

-- 
You are receiving this mail because:
You are the assignee for the bug.