From owner-freebsd-questions@freebsd.org Fri Jul 31 17:41:14 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5525D9B0562 for ; Fri, 31 Jul 2015 17:41:14 +0000 (UTC) (envelope-from simon@optinet.com) Received: from cobra.acceleratedweb.net (cobra-gw.acceleratedweb.net [207.99.79.37]) by mx1.freebsd.org (Postfix) with SMTP id E92AD1C13 for ; Fri, 31 Jul 2015 17:41:13 +0000 (UTC) (envelope-from simon@optinet.com) Received: (qmail 63707 invoked by uid 110); 31 Jul 2015 17:41:16 -0000 Received: from ool-18bd15b7.dyn.optonline.net (HELO desktop1) (simon@optinet.com@24.189.21.183) by cobra.acceleratedweb.net with SMTP; 31 Jul 2015 17:41:16 -0000 From: "Simon" To: "freebsd-questions@freebsd.org" Date: Fri, 31 Jul 2015 13:41:04 -0400 Priority: Normal X-Mailer: PMMail 2000 Professional (2.20.2717) For Windows 2000 (5.1.2600;3) MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Subject: freebsd-update + custom kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Jul 2015 17:41:14 -0000 Hello, Does anyone use freebsd-update with custom kernel? It appears that: a) on FreeBSD 8.x the freebsd-update process will not update /boot/kernel unless it's GENERIC, however b) on FreeBSD 10.x the freebsd-update process will update /boot/kernel even if it's custom to GENERIC I have tested both scenarios (hopefully correctly). My question is 1) why does freebsd-update update custom kernel in /boot/kernel on FreeBSD 10.x, is this by design? (it does give a warning that it will *not* update it because it's custom) 2) why doesn't freebsd-update provide an option to update /usr/src with GENERIC kernel on first freebsd-update install, allowing for custom kernel to be installed, if desired, from updated /usr/src before first reboot is made to load new kernel? (instead it will update /usr/src with world on second call to install) This means that in order to install a custom kernel, you would have to use something like svn to update /usr/src manually, install custom kernel, reboot into new kernel, then run freebsd-update install) At the moment, I don't see a reason why an option could not be provided to update /usr/src with kernel. From the freebsd-update source, it seems very trivial to add, unless I'm overlooking something. Thanks in advance! Simon