Date: Tue, 6 Nov 2018 22:38:28 +0000 From: Steve O'Hara-Smith <steve@sohara.org> To: freebsd-questions@freebsd.org Subject: Re: freebsd-update(8) and custom kernels Message-ID: <20181106223828.4e65f87c884b43c40f0231e3@sohara.org> In-Reply-To: <CAEAzY3_xbb76vWYkFKXc3mBOdceBX3GdZ=SXEYyNSNGARvgu_A@mail.gmail.com> References: <CAEAzY3_BzOH25aoTpTWTREbhJD0V0o8RKCV6A4sVnXtCpRjE3g@mail.gmail.com> <20181106170818.GD88460@mordor.lan> <CAEAzY3_oF94bezhVte7Ym5Y0qfEypu7rabh4BGx6v%2BOFi6cR%2BA@mail.gmail.com> <20181106174215.43746c0a0f28d86dd4ef0e14@sohara.org> <CAEAzY3_xbb76vWYkFKXc3mBOdceBX3GdZ=SXEYyNSNGARvgu_A@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 6 Nov 2018 19:57:12 +0100 Aram Hăvărneanu <aram.h@mgk.ro> wrote: > > I have used this procedure for upgrading several times now (most > > recently from 11.1 to 11.2 - and that box started on 9.<something> so > > it's been through two major version upgrades). There's an extra > > freebsd-update install after the reboot but other than that it's fine > > IME, YMMV of course. > > I still don't understand how this works. To build the new kernel > for a newer RELEASE you need both the new binaries (which require > the new kernel to boot first), and the new sources (which don't > require anything). Building the kernel doesn't need the new binaries, otherwise a source upgrade would be impossible. The first install must install sources as well as the GENERIC kernel. > I assume you run freebsd-update first (which overwrites your kernel > with the GENERIC one), then run freebsd-update after you have booted > GENERIC (this will install new binaries, and I assume new sources), > then recompile and reinstall your custom kernel, and then reboot > again? No, I never boot into GENERIC, the procedure is exactly as Julien described apart from the extra make install after the reboot. -- Steve O'Hara-Smith | Directable Mirror Arrays C:\>WIN | A better way to focus the sun The computer obeys and wins. | licences available see You lose and Bill collects. | http://www.sohara.org/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20181106223828.4e65f87c884b43c40f0231e3>