Re: FreeBSD-src-sys package for /usr/src/sys/

From: Dag-Erling_Smørgrav <des_at_FreeBSD.org>
Date: Mon, 09 Dec 2024 17:15:22 UTC
Jonathan Adams <jfadams1963@proton.me> writes:
> Hi DES. Does the above hold true if the source tree was installed with
> git? I guess I'm wondering if freebsd-update looks for .git/ and won't
> update if found.

No, freebsd-update will not notice /usr/src/.git and will attempt to
update your source tree.  If that happens, just remove “src” from the
Components line of your /etc/freebsd-update.conf to prevent it from
happening again, and run `git -C /usr/src reset --hard` to reset your
tree to its previous state (assuming you didn't have any uncommitted
changes).

DES
-- 
Dag-Erling Smørgrav - des@FreeBSD.org