From owner-freebsd-pkgbase@freebsd.org Tue Sep 11 19:28:06 2018 Return-Path: Delivered-To: freebsd-pkgbase@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D07C1109ADC4 for ; Tue, 11 Sep 2018 19:28:06 +0000 (UTC) (envelope-from brd@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 783658682D; Tue, 11 Sep 2018 19:28:06 +0000 (UTC) (envelope-from brd@FreeBSD.org) Received: from auth1-smtp.messagingengine.com (auth1-smtp.messagingengine.com [66.111.4.227]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: brd/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 6DFFAD4EF; Tue, 11 Sep 2018 19:28:06 +0000 (UTC) (envelope-from brd@FreeBSD.org) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailauth.nyi.internal (Postfix) with ESMTP id 3FC1F2200D; Tue, 11 Sep 2018 15:28:06 -0400 (EDT) Received: from web6 ([10.202.2.216]) by compute5.internal (MEProxy); Tue, 11 Sep 2018 15:28:06 -0400 X-ME-Proxy: X-ME-Sender: Received: by mailuser.nyi.internal (Postfix, from userid 99) id A78DC426F; Tue, 11 Sep 2018 15:28:05 -0400 (EDT) Message-Id: <1536694085.2759965.1504668272.4564BA99@webmail.messagingengine.com> From: Brad Davis To: freebsd-pkgbase@freebsd.org Cc: Allan Jude , Kyle Evans MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" X-Mailer: MessagingEngine.com Webmail Interface - ajax-1234af23 In-Reply-To: References: Subject: Re: Proposal for making the kernel packages preserve old copies Date: Tue, 11 Sep 2018 13:28:05 -0600 X-BeenThere: freebsd-pkgbase@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Packaging the FreeBSD base system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Sep 2018 19:28:07 -0000 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? 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! Regards, Brad Davis