Date: Wed, 20 Mar 2019 10:57:54 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 236658] Gives more flexibility to kernel installation Message-ID: <bug-236658-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236658 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@FreeBSD.org Reporter: phascolarctos@protonmail.ch Created attachment 202999 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D202999&action= =3Dedit Makefile.inc1 - introduction of USEKERNNAME Introduces a new USEKERNNAME variable set by default to "yes", that works as follows: - if USEKERNNAME =3D=3D yes, then nothing is changed; - if USEKERNNAME !=3D yes, then install all kernels in a directory named e= xactly as the kernel configuration. For example, if KERNCONF =3D GENERIC CURRENT STABLE, then the 3 kernels wou= ld 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/ke= rnel file exists and the kernel variable in /boot/loader.conf is not defined. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236658-227>