From owner-freebsd-doc@FreeBSD.ORG Wed Jan 16 14:31:59 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 7D72C173 for ; Wed, 16 Jan 2013 14:31:59 +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 3979ACF8 for ; Wed, 16 Jan 2013 14:31:59 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.6/8.14.6) with ESMTP id r0GEVwnQ082316; Wed, 16 Jan 2013 07:31:58 -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 r0GEVw65082313; Wed, 16 Jan 2013 07:31:58 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Wed, 16 Jan 2013 07:31:58 -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]); Wed, 16 Jan 2013 07:31:58 -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: Wed, 16 Jan 2013 14:31:59 -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 It depends on where freebsd-update is looking for it. Based on the 8.x instructions, I had the feeling it would expect the generic to be installed. Or rather that it would expect the current installed kernel to be GENERIC. (Actually, this whole process seems roundabout. Rather than helping the user trick freebsd-update into seeing a generic kernel, why doesn't freebsd-update just have an option to ignore the kernel version or checksum?) > I.e. instead of > > tar -C/ -xvf kernel.txz boot/kernel/kernel > > tar -C/ -xvf kernel.txz boot/GENERIC It also was not clear to me whether the entire /boot/kernel directory should be copied. > 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