From owner-freebsd-bugs@FreeBSD.ORG Thu Feb 12 00:30:05 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24B9B1065670 for ; Thu, 12 Feb 2009 00:30:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E72BA8FC15 for ; Thu, 12 Feb 2009 00:30:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n1C0U4sa063061 for ; Thu, 12 Feb 2009 00:30:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n1C0U46A063056; Thu, 12 Feb 2009 00:30:04 GMT (envelope-from gnats) Date: Thu, 12 Feb 2009 00:30:04 GMT Message-Id: <200902120030.n1C0U46A063056@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Manolis Kiagias Cc: Subject: Re: misc/131598: freebsd-update doesn't interact well with custom kernels X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Manolis Kiagias List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2009 00:30:05 -0000 The following reply was made to PR misc/131598; it has been noted by GNATS. From: Manolis Kiagias To: Roy Badami Cc: freebsd-gnats-submit@FreeBSD.org, cperciva@freebsd.org Subject: Re: misc/131598: freebsd-update doesn't interact well with custom kernels Date: Thu, 12 Feb 2009 02:20:12 +0200 Roy Badami wrote: > The new handbook documentation looks good - and sorry for having > missed it. Has the message given by freebsd-update when running a > custom kernel been changed to correspond to this new guidance? If so, > I agree the problem I experienced is largely solved. > No, I am afraid the message is still the same. I was originally trying to use it in the same way you did, then realized the sources are not upgraded in the first run of freebsd-update. Then I devised this procedure and documented it in the handbook. > I'd still like to ask the question as to whether it would be more > appropriate for the kernel sources to be updated along with the kernel > - rather than along with userland. If nothing else it feels like it's > the consistent thing to do. > I agree, and it is consistent with the message too. However there may be other reasons behind the way it works at the moment. Maybe Colin Percival (CCed) can shed some light on this. > It would also give more options where the procedure described in the > handbook is difficult or inconvenient (because the GENERIC kernel > can't boot the hardware - not my situation I hasten to add). I can't > see the disadvantage - and it would seem a more logical procedure, too > - to build the kernel before updating the userland - or are there > issues with using the wrong toolchain version? (Hmm, what does "make > buildkernel" use, then - it uses the toolchain from the current > installed world, right?, so this procedure should be safe?) > > AFAIK, make buildkernel builds the necessary tools before building the kernel itself. It should not be a problem at least in minor version upgrades. Even in source-based upgrades, the kernel is built before the world is installed. > Assuming the message has been corrected, feel free to change this PR to > a feature request, priority low. > > Thanks, > > -roy > >