How to keep freebsd-update from trashing custom kernel?

Michael Sierchio kudzu at tenebras.com
Tue Aug 14 00:52:31 UTC 2012


On Mon, Aug 13, 2012 at 1:07 PM, Brett Glass <brett at lariat.net> wrote:
> At 11:33 AM 8/13/2012, Michael Sierchio wrote:
>
>> And it does, in my experience.  If the hash of the kernel doesn't
>> match that of the distribution (or recent update), freebsd-update
>> leaves it alone.
>
>
> That is what I thought it would do, based on the docs. However, when I
> recently ran freebsd-update on a FreeBSD 9.0 machine with a module-less
> custom kernel at /boot/kernel/kernel, it fetched a GENERIC kernel and
> overwrote the custom kernel with it. Interestingly, it didn't bring in any
> modules; it just overwrote the one file.

I am skeptical, since this is counter to design and experience.  I'm
not saying it isn't possible, but so far it's not reproducible.

When you say you updated a FreeBSD 9.0 machine, was it...
9.0-RELEASE?  9.0-RELEASE-pX ?

i386? amd64?

- M


More information about the freebsd-questions mailing list