Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Feb 2021 23:11:55 +0000
From:      Steve O'Hara-Smith <steve@sohara.org>
To:        Frank Leonhardt <freebsd-doc@fjl.co.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Is there an easy way to update your own kernel?
Message-ID:  <20210206231155.8c547a777879a55e291e1103@sohara.org>
In-Reply-To: <2c5bec8a-aeeb-d9d2-6001-f63b97b8e90b@fjl.co.uk>
References:  <2c5bec8a-aeeb-d9d2-6001-f63b97b8e90b@fjl.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 6 Feb 2021 22:57:07 +0000
Frank Leonhardt <freebsd-doc@fjl.co.uk> wrote:

> I suspect there's no answer to this, but I'll ask it anyway.
> 
> I have some tweaked drivers on my server cluster. I'd like to update 
> FreeBSD, but obviously keep my driver tweaks. I've found two ways of 
> doing this:
> 
> 1) Upgrade from source, copying my own driver source over the "standard" 
> versions.
> 
> 2) To save building everything on every machine, do a source upgrade and 
> then copy my custom kernel into /boot (using sftp) after a binary upgrade.

	This is how I do it.

3) Do a binary upgrade but have one machine with the sources installed (so
that they get updated too) and on that machine build and install your custom
kernel, on other machines just install it (mount sources or copy it). Update
the kernel between running freebsd-update install and rebooting the machine.

-- 
Steve O'Hara-Smith <steve@sohara.org>



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