installkernel ignoring WITHOUT_DEBUG_FILES?

Mark Johnston markj at freebsd.org
Wed Apr 29 13:54:48 UTC 2020


On Wed, Apr 29, 2020 at 08:49:00AM +0300, Yuri Pankov wrote:
> I'm trying to replace the kernel on memstick image with the help of 
> mdconfig, and installkernel runs out of space despite 
> WITHOUT_DEBUG_FILES= added to /etc/src.conf.
> 
> /usr/src$ make -V MK_DEBUG_FILES
> no
> /usr/src$ sudo rm -rf /mnt/usr/lib/debug
> /usr/src$ sudo make DESTDIR=/mnt installkernel

You need WITHOUT_KERNEL_SYMBOLS= instead for the kernel.  I'm not sure
why it's a different option.


More information about the freebsd-current mailing list