https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236658
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: [email protected]
Reporter: [email protected]
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
follows:
- 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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"