From owner-freebsd-doc@FreeBSD.ORG Mon Jan 21 23:27:06 2013 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C658D847 for ; Mon, 21 Jan 2013 23:27:06 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 700C731C for ; Mon, 21 Jan 2013 23:27:06 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.6/8.14.6) with ESMTP id r0LNR0ao055053; Mon, 21 Jan 2013 16:27:00 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.6/8.14.6/Submit) with ESMTP id r0LNQxB5055050; Mon, 21 Jan 2013 16:27:00 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Mon, 21 Jan 2013 16:26:59 -0700 (MST) From: Warren Block To: Bas Smeelen Subject: Re: freebsd-update and ports In-Reply-To: <50F66D72.20807@ose.nl> Message-ID: References: <50F66D72.20807@ose.nl> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Mon, 21 Jan 2013 16:27:00 -0700 (MST) Cc: freebsd-doc@freebsd.org X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2013 23:27:06 -0000 On Wed, 16 Jan 2013, Bas Smeelen wrote: > On 01/16/2013 04:56 AM, Warren Block wrote: >> A rendered sample of the proposed changes to the freebsd-update section: >> http://www.wonkity.com/~wblock/temp/fupd-ports2.html >> >> The diff: >> http://www.wonkity.com/~wblock/temp/fupd-ports2.diff > > Looks good.. > Note that in section 25.2.3.1.2 Custom Kernels with FreeBSD 9.X and Later the > current custom kernel in /boot/kernel gets overwritten. > It might be better to change this so the GENERIC kernel is installed in > /boot/GENERIC > > I.e. instead of > > tar -C/ -xvf kernel.txz boot/kernel/kernel > > tar -C/ -xvf kernel.txz boot/GENERIC > > and instead of > > make kernel > > make buildkernel > make installkernel DESTDIR=/boot/GENERIC > > or as in the 8.X section > env DESTDIR=/boot/GENERIC make kernel But isn't that required? As I understand it, this whole procedure is to fool freebsd-update into thinking that a GENERIC kernel is being used. In 9.X, it will look for that kernel in the normal installed location, /boot/kernel. And of course the user will have to rebuild their custom kernel after the update anyway.