From owner-freebsd-pkgbase@freebsd.org Sun Sep 9 09:05:12 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 863DC108F870 for ; Sun, 9 Sep 2018 09:05:12 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: from mail-ua1-x92f.google.com (mail-ua1-x92f.google.com [IPv6:2607:f8b0:4864:20::92f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1153F8C6E3; Sun, 9 Sep 2018 09:05:12 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: by mail-ua1-x92f.google.com with SMTP id r15-v6so15107202uao.1; Sun, 09 Sep 2018 02:05:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=bkBCZ0RwJhxSzE/0n6jXYNuivzkyFbcis1wRFOY0G0A=; b=cA2Kx6PLR7NHUbQJtmzd8wHlap260hkUo5VMXawaYwJJCdn4+tjLA+60HqFtNdSW5+ ArmpAi4phtLAg52JG1i+VUT72KLSVuAjsLPjwenHyR6pmcsKcRfZ715kpktHuEwGet// KSprtMCFGflf0XDR++RXIYtcWJAeH1EpEayUqf5Fav7ovBytlSzjNnJzC432ZLRA5N65 NvGzljVoNNqbji0pPNKXCiisT60FdvxFQP0Bmft+FTwsudi6iXIDhbgB86CmWaD7Z/il lEpojE9hAzT0B4IPobiGeHOsh8rIR6pAFF8mWD9zZmrUbqVgohs8alA+SEXp1duGeNSJ RxPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=bkBCZ0RwJhxSzE/0n6jXYNuivzkyFbcis1wRFOY0G0A=; b=eGNbboDbTZt1OKH1fMWomALKguSJ6ToXuU0oaObMs/7y/dTF/9YD+wwK9laFetFWGg dofd/c4p8woAQfrBhphUdEojgusd7w9rBh2sPuFehzTyAKhsXCiOuCkKkxwUwDk3tW0t pfBwwo1vA/i5II5DUcJV6ltqXpcJeni/BsLl9iFtOZuUQhvXWIbJsm6V24xHz2QKWaI/ i+1VYAs0nPrTKuELovh4Erg1zTdvWh9OYBueBMDXzYGeTNLMe22+2Ik6p5uMhMz/6Lzu UFSAsmGEQ3WujCyLaFInuWGsQ0w6G35jAeTg43P2I5AvzULhE+1ogfQCMtorI5irGb5g PCng== X-Gm-Message-State: APzg51BkjsS9++Jk9U4PZHy+YfGq27Jk73azNePHmCQo3H4TGR6p8YlE zu0T5+Ll8zysLpxdOQe3pRDeTGz8EIrQAvKbEMa564x5 X-Google-Smtp-Source: ANB0VdZHpZGMAU0PFU/LLqRLNHJTx13WerfwNk3FUSoVnPEUZi2+ohP0w9OssDC7E5tlOqgnW5jV/QDPo46m70ukDrQ= X-Received: by 2002:a9f:3666:: with SMTP id s35-v6mr5315981uad.94.1536483911301; Sun, 09 Sep 2018 02:05:11 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ab0:104b:0:0:0:0:0 with HTTP; Sun, 9 Sep 2018 02:05:10 -0700 (PDT) In-Reply-To: <1536434961.3187240.1501391096.0D879540@webmail.messagingengine.com> References: <32d8a418-d949-15f6-7252-c4d55d24afe8@gmail.com> <1535904282.77150.1494220048.25F8C900@webmail.messagingengine.com> <1536432960.3180678.1501276496.319FE0BA@webmail.messagingengine.com> <1536434961.3187240.1501391096.0D879540@webmail.messagingengine.com> From: Ben Woods Date: Sun, 9 Sep 2018 17:05:10 +0800 Message-ID: Subject: Re: amd64-ALPHA3 - cannot make packages anymore To: Brad Davis Cc: freebsd-pkgbase@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 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: Sun, 09 Sep 2018 09:05:12 -0000 On 9 September 2018 at 03:29, Brad Davis wrote: > On Sat, Sep 8, 2018, at 12:56 PM, Brad Davis wrote: > > On Fri, Sep 7, 2018, at 11:17 PM, Ben Woods wrote: > > > On 3 September 2018 at 00:04, Brad Davis wrote: > > >> On Sun, Sep 2, 2018, at 4:46 AM, henry.vogt@gmail.com wrote: > > >> > Hello, > > >> > > > >> > after successful building world and kernel(s) 'make packages' > fails with > > >> > te following now: > > >> > > > >> > --- C U T --- > > >> > > > >> > ===> Creating FreeBSD-runtime-12.0.s20180902102855 > > >> > pkg -o ABI_FILE=/usr/obj/usr/src/12/amd64.amd64/worldstage/bin/sh > -o > > >> > ALLOW_BASE_SHLIBS=yes create -M /usr/obj/usr/src/12/amd64.amd64/ > > >> > worldstage/runtime.ucl -p /usr/obj/usr/src/12/amd64. > amd64/worldstage/ > > >> > runtime.plist -r > > >> > /usr/obj/usr/src/12/amd64.amd64/worldstage -o > /usr/obj/usr/src/12/repo/ > > >> > $(pkg -o ABI_FILE=/usr/obj/usr/src/12/amd64.amd64/worldstage/bin/sh > > > >> > config ABI)/12.0.s20180902102855 > > >> > pkg: duplicate directory listing: /boot, ignoring > > >> > pkg: duplicate directory listing: /boot, ignoring > > >> > ... > > >> > pkg: Plist error, @config /root/.cshrc: not a regular file > > >> > pkg: Plist error, @config /root/.profile: not a regular file > > >> > pkg: duplicate file listing: /usr/bin/zstdegrep, ignoring > > >> > pkg: duplicate directory listing: /usr/lib, ignoring > > >> > pkg: duplicate directory listing: /usr/lib/dtrace, ignoring > > >> > ... > > >> > Does anybody see this also ? > > >> > > >> Yes, this is a known issue. I am trying to get some input from Bapt > on how he thinks we should solve it. > > >> > > >> > > >> Regards, > > >> Brad Davis > > > > > > Hi Brad, > > > > > > Thanks for all your work on moving /etc conf files to assist with > pkgbase - it will be a great improvement. > > > > > > Any update on the above issue? Or are you aware of a work-around if we > wanted to get a new set of base packages built today? > > > > > > Thanks, > > > Ben > > > > > > I have a fix in pkg git, that I will push into pkg-devel today. > > Done as r479255. > > > Regards, > Brad Davis > Thanks Brad. For the record, this fix worked for me. Regards, Ben -- From: Benjamin Woods woodsb02@gmail.com From owner-freebsd-pkgbase@freebsd.org Tue Sep 11 15:58:56 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 437C310955D4 for ; Tue, 11 Sep 2018 15:58:56 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 E4BA97CFB5 for ; Tue, 11 Sep 2018 15:58:55 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from marvin.madpilot.net (host145-124-dynamic.19-79-r.retail.telecomitalia.it [79.19.124.145]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: madpilot/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id A6CE1BFB7 for ; Tue, 11 Sep 2018 15:58:55 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) To: freebsd-pkgbase@freebsd.org From: Guido Falsi Subject: Proposal for making the kernel packages preserve old copies Openpgp: preference=signencrypt Autocrypt: addr=madpilot@FreeBSD.org; prefer-encrypt=mutual; keydata= xsBNBE+G+l0BCADi/WBQ0aRJ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fOAerhcHUa/z7Uu8YtmaqKH+QGkE/WEgaRqSiTnv0JOTD+DxehaqvoKPPZ++2NpCZMHB2i6A /xifmQwEiIjEXtcueBRzkNUQkxhqZyS13SrhocL9ydtaVPBzZatAEjUDDEJmAMLVFs45qfyh MiNapHJo2n3MW/E5omqCvEkDdWX/en3P7CK2TemeaDghMsgkNKax/z0wNo5UZCkOPOz0xpNi UilOVbkuezZZNg65741qee2lfXhQIaZ66yT7hphc/N/z3PIAtLeze4u1VR2EXAuZ2sWAdlKC NTlJMsaU/x70BV11Wd/ypnVzM68dfdQIIAj1iMFAD/lXGlEUmKXg5Ov2VQDlTntQoanCYrAg +8CttPzjrydgLZFq3hrtQmfc0se5yv1WHS69+BsUOG09RvvawUDZxUjW19kyeN9THaNRgow3 kSuArUp6zSmJABEBAAHCwF8EGAEIAAkFAlMQe0ECGwwACgkQGuaGDlbL0pMN5wgA4bCkX/qw EVC06ToeR6C2putmSWQMgpDaqrv65Hubo+QGmg2P4ewTYQQ4g6oYWS03qHxqVVWhKz7FjfrV +dH8qbCLfSgIcvdBha7ayGZVrsiuMLKGbw36fcmkZPpSDOfHcP0XH8Z+u9CWj0xUkTxAlZ/7 i6gYSUpG2JWNtdmE/X8VVEyXusCLwy0K0BI60A/4dRTIX3C4QKrJ3ZbUXegz70ynjHf+lQMZ 9IZKASoRMuS5FozPQh6abvmwZEPdf5I9riUElzvHrqJ8Bx0t3Pujdoth+yNHpnBxrtO8LkQd rQ58P0SwcaIX33T2U9pG8bhu5YVR88FQ8OQ0cEsPBpDncg== Message-ID: Date: Tue, 11 Sep 2018 17:58:53 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit 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 15:58:56 -0000 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. Thanks! -- Guido Falsi 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 From owner-freebsd-pkgbase@freebsd.org Tue Sep 11 19:35:42 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 B1BEC109B04F for ; Tue, 11 Sep 2018 19:35:42 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 6617886B9F; Tue, 11 Sep 2018 19:35:42 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com [209.85.167.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id 1DE54D604; Tue, 11 Sep 2018 19:35:42 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-lf1-f48.google.com with SMTP id z11-v6so21332411lff.9; Tue, 11 Sep 2018 12:35:42 -0700 (PDT) X-Gm-Message-State: APzg51CNNGvXXzmnTDlTuFVcUz7JhiXMyPG/sE/DfOnU2GkGmRRed5VE m0YHGbx2t6bayAbI5HLtjxejtEldS+crM0WFX3Y= X-Google-Smtp-Source: ANB0VdZlJcQM9B4qVmPvcwHQtGhigJmdeQ2MYuWY2v0JOhSsg2HPXc/o+HlAmSskKpcSg5WmCG2bL8kKRsxh9AsRV70= X-Received: by 2002:a19:ea52:: with SMTP id i79-v6mr15594473lfh.75.1536694540416; Tue, 11 Sep 2018 12:35:40 -0700 (PDT) MIME-Version: 1.0 References: <1536694085.2759965.1504668272.4564BA99@webmail.messagingengine.com> In-Reply-To: <1536694085.2759965.1504668272.4564BA99@webmail.messagingengine.com> From: Kyle Evans Date: Tue, 11 Sep 2018 14:35:28 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Proposal for making the kernel packages preserve old copies To: Brad Davis Cc: freebsd-pkgbase@freebsd.org, Allan Jude Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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:35:42 -0000 On Tue, Sep 11, 2018 at 2: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 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 From owner-freebsd-pkgbase@freebsd.org Wed Sep 12 13:57:26 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 7EFA41094187 for ; Wed, 12 Sep 2018 13:57:26 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 2A4FC83A28; Wed, 12 Sep 2018 13:57:26 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from marvin.madpilot.net (host145-124-dynamic.19-79-r.retail.telecomitalia.it [79.19.124.145]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: madpilot/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 96F2614567; Wed, 12 Sep 2018 13:57:25 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Subject: Re: Proposal for making the kernel packages preserve old copies To: Brad Davis , freebsd-pkgbase@freebsd.org Cc: Kyle Evans , Allan Jude References: <1536694085.2759965.1504668272.4564BA99@webmail.messagingengine.com> From: Guido Falsi Openpgp: preference=signencrypt Autocrypt: addr=madpilot@FreeBSD.org; prefer-encrypt=mutual; keydata= xsBNBE+G+l0BCADi/WBQ0aRJfnE7LBPsM0G3m/m3Yx7OPu4iYFvS84xawmRHtCNjWIntsxuX fptkmEo3Rsw816WUrek8dxoUAYdHd+EcpBcnnDzfDH5LW/TZ4gbrFezrHPdRp7wdxi23GN80 qPwHEwXuF0X4Wy5V0OO8B6VT/nA0ADYnBDhXS52HGIJ/GCUjgqJn+phDTdCFLvrSFdmgx4Wl c0W5Z1p5cmDF9l8L/hc959AeyNf7I9dXnjekGM9gVv7UDUYzCifR3U8T0fnfdMmS8NeI9NC+ wuREpRO4lKOkTnj9TtQJRiptlhcHQiAlG1cFqs7EQo57Tqq6cxD1FycZJLuC32bGbgalABEB AAHNHkd1aWRvIEZhbHNpIDxtYWRAbWFkcGlsb3QubmV0PsLAeQQTAQgAIwIbAwIeAQIXgAUL CQgHAwUVCgkICwQWAgMBBQJS79AgAhkBAAoJEBrmhg5W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ECGwwACgkQGuaGDlbL0pMN5wgA4bCkX/qw EVC06ToeR6C2putmSWQMgpDaqrv65Hubo+QGmg2P4ewTYQQ4g6oYWS03qHxqVVWhKz7FjfrV +dH8qbCLfSgIcvdBha7ayGZVrsiuMLKGbw36fcmkZPpSDOfHcP0XH8Z+u9CWj0xUkTxAlZ/7 i6gYSUpG2JWNtdmE/X8VVEyXusCLwy0K0BI60A/4dRTIX3C4QKrJ3ZbUXegz70ynjHf+lQMZ 9IZKASoRMuS5FozPQh6abvmwZEPdf5I9riUElzvHrqJ8Bx0t3Pujdoth+yNHpnBxrtO8LkQd rQ58P0SwcaIX33T2U9pG8bhu5YVR88FQ8OQ0cEsPBpDncg== Message-ID: Date: Wed, 12 Sep 2018 15:57:22 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <1536694085.2759965.1504668272.4564BA99@webmail.messagingengine.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit 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: Wed, 12 Sep 2018 13:57:26 -0000 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