[Bug 236658] Gives more flexibility to kernel installation

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Mar 20 10:57:57 UTC 2019


            Bug ID: 236658
           Summary: Gives more flexibility to kernel installation
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: phascolarctos at protonmail.ch

Created attachment 202999
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=202999&action=edit
Makefile.inc1 - introduction of USEKERNNAME

Introduces a new USEKERNNAME variable set by default to "yes", that works as

- if USEKERNNAME == yes, then nothing is changed;
- if USEKERNNAME  != yes, then install all kernels in a directory named exactly
as the kernel configuration.

For example, if KERNCONF = GENERIC CURRENT STABLE, then the 3 kernels would be
installed in /boot/GENERIC, /boot/CURRENT, /boot/STABLE respectively. No
/boot/kernel would be created.
Then, /boot/loader.conf should be updated with the new default kernel name (by
setting the "kernel" variable) or a /boot/kernel file should be created
manually (by copying a valid kernel directory, by soft linking to a valid
kernel directory...).

I tested successfully the patch. I did not test what happens if no /boot/kernel
file exists and the kernel variable in /boot/loader.conf is not defined.

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

More information about the freebsd-bugs mailing list