Re: Patched kernel workflow

From: Matthew Seaman <matthew_at_FreeBSD.org>
Date: Wed, 11 Mar 2026 16:22:17 UTC
On 11/03/2026 15:55, Микола Микола wrote:
> So I have few questions. First is what exactly happens when pkg gets out of
> sync?

All this means is that the manifest of the Kernel package recorded in 
pkg's database will not match what is actually on disk.  Will add noise 
in some logs and prevent pkg from upgrading the kernel if an updated pkg 
becomes available.  Probably not an important consideration on a box 
used for development.  It won't be compatible with kmods compiled from 
ports, unless you recompile them specifically for your patched kernel. 
Otherwise, nothing bad will happen.

To fix it, you can force a reinstall of the official kernel package from 
the repo.

	Cheers,

	Matthew