https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252834

            Bug ID: 252834
           Summary: custom kernel: setting "makeoptions KERNEL=x" does not
                    change name of installed kernel
           Product: Base System
           Version: 12.2-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: b...@freebsd.org
          Reporter: free...@ohreally.nl

Hi,

The comments in /usr/src/sys/conf/NOTES suggest that the name for a new kernel
can be modified by including "makeoptions KERNEL=x" in the configuration file.

#makeoptions    KERNEL=foo              #Build kernel "foo" and install "/foo"

This does not work.
I tried twice, setting the variable to '2021011901' and 'kernel-2021011902'
respectively (and removing the hash sign at the beginning of the line,
obviously), but the new kernel was still installed as /boot/kernel/kernel.

> grep -rs 20210119 /boot/
Binary file /boot/kernel/kernel matches

> strings /boot/kernel/kernel | grep 20210119
makeoptions     KERNEL=kernel-2021011902

> svn info /usr/src
Path: /usr/src
Working Copy Root Path: /usr/src
URL: https://svn.freebsd.org/base/releng/12.2
Relative URL: ^/releng/12.2
Repository Root: https://svn.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 369052
Node Kind: directory
Schedule: normal
Last Changed Author: gordon
Last Changed Rev: 368463
Last Changed Date: 2020-12-08 20:10:40 +0100 (di, 08 dec. 2020)

Don't hesitate to contact me if you need more info.

Cheers,
  Rob

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to