Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Sep 2018 15:57:22 +0200
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        Brad Davis <brd@FreeBSD.org>, freebsd-pkgbase@freebsd.org
Cc:        Kyle Evans <kevans@freebsd.org>, Allan Jude <allanjude@freebsd.org>
Subject:   Re: Proposal for making the kernel packages preserve old copies
Message-ID:  <b40124ba-cf1f-5841-1c35-979c5da8c21d@FreeBSD.org>
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 9/11/18 9:28 PM, Brad Davis 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 who
>> 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 potentially there is the desire to keep many kernels around.  So we are going to name 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?

I was not aware of this! Definitely better than my hack.

> 
> See the kernel section here: https://wiki.freebsd.org/PkgBase#Project_goals_and_additional_unresolved_issues
> 
> If you would like to help work on this I would appreciate it.  If you want to take a look at making pkg understand that multiple versions of the same pkg can be installed, that would be great!

I Can try to have a look, but this will require some time to study the
pkg codebase in detail.

Is there someone already looking at this? someone I should talk to?

-- 
Guido Falsi <madpilot@FreeBSD.org>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b40124ba-cf1f-5841-1c35-979c5da8c21d>