Date: Tue, 11 Sep 2018 14:35:28 -0500 From: Kyle Evans <kevans@freebsd.org> To: Brad Davis <brd@freebsd.org> Cc: freebsd-pkgbase@freebsd.org, Allan Jude <allanjude@freebsd.org> Subject: Re: Proposal for making the kernel packages preserve old copies Message-ID: <CACNAnaHJvCEA_Rp%2BVzNJmBXenW4-wBNTMcvGjCG8YWhnJn37iQ@mail.gmail.com> In-Reply-To: <1536694085.2759965.1504668272.4564BA99@webmail.messagingengine.com> References: <e80c454a-737a-55dc-7db6-2d40296d12a4@FreeBSD.org> <1536694085.2759965.1504668272.4564BA99@webmail.messagingengine.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 11, 2018 at 2:28 PM Brad Davis <brd@freebsd.org> wrote: > > On Tue, Sep 11, 2018, at 9:58 AM, Guido Falsi wrote: > > Hi, > > > > I've finally cleaned up a local patch I've been using and sent it as a > > code review: > > > > https://reviews.freebsd.org/D17119 > > > > > > As stated in the subject this patch uses a deinstall script to make the > > kernel packages copy the kernel directory to kernel.old when > > deinstalling. This leaves a fallback kernel on the system when > > upgrading, which I find quite useful. > > > > I intentionally made it mimic the "make installkernel" behavior. > > > > I did not add any reviewers in the phabric review since I don't know wh= o > > I should ask, but I'd like to get some feedback about this. > > Hi Guido, > > Good idea, but there is a different plan in the works. Because potential= ly there is the desire to keep many kernels around. So we are going to nam= e all the kernels kernel.version and the loader I believe already knows how= to find them. Allan? Kyle? Do you know what the status is here? > lualoader supports a "kernels_autodetect" option. One can stuff kernels_autodetect=3D"YES" in loader.conf(5) and we'll enumerate all directories in /boot that contain a 'kernel' file and throw them in the kernel list. I'm still 50/50 on enabling kernels_autodetect by default due to systems where the I/O is just too heavy, but I suspect a lot of those cases might also bypass the loader menu and effectively not need to autodetect. Thanks, Kyle Evans
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACNAnaHJvCEA_Rp%2BVzNJmBXenW4-wBNTMcvGjCG8YWhnJn37iQ>