Re: installkernel ignoring WITHOUT_DEBUG_FILES?

2020-04-29 Thread Yuri Pankov

Mark Johnston wrote:

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.


Thank you, somehow I missed it, and its description is a bit misleading 
as well.

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: installkernel ignoring WITHOUT_DEBUG_FILES?

2020-04-29 Thread Mark Johnston
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.
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"