Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Feb 2009 00:30:04 GMT
From:      Manolis Kiagias <sonic2000gr@gmail.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/131598: freebsd-update doesn't interact well with custom kernels
Message-ID:  <200902120030.n1C0U46A063056@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/131598; it has been noted by GNATS.

From: Manolis Kiagias <sonic2000gr@gmail.com>
To: Roy Badami <roy@gnomon.org.uk>
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
 >
 >   
 
 
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902120030.n1C0U46A063056>