Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jan 2021 16:34:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 252834] custom kernel: setting "makeoptions KERNEL=x" does not change name of installed kernel
Message-ID:  <bug-252834-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

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: bugs@FreeBSD.org
          Reporter: freebsd@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.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-252834-227>