Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Dec 2024 18:15:22 +0100
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@FreeBSD.org>
To:        Jonathan Adams <jfadams1963@proton.me>
Cc:        questions@freebsd.org
Subject:   Re: FreeBSD-src-sys package for /usr/src/sys/
Message-ID:  <86o71kbwwl.fsf@ltc.des.dev>
In-Reply-To: <xuqleL3EVdRgAcyMzQ07r1-XE-s1nINNXfR23ALnrKwptle4Y8ftHUAycd8dWUivoBCdB2ix0sPMaAW-IDnknvRopYR8ORnmNhAyh3Vno3Q=@proton.me> (Jonathan Adams's message of "Mon, 09 Dec 2024 16:22:58 %2B0000")
References:  <20241203180607.4da49fa8@dismail.de> <fe58e01e-3187-4171-81e6-6cc3aae56efe@gmail.com> <6868cfb9-0c33-4d5e-b933-55b9166d5030@gmail.com> <20241208135719.68167d62@dismail.de> <86seqxavc4.fsf@ltc.des.dev> <xuqleL3EVdRgAcyMzQ07r1-XE-s1nINNXfR23ALnrKwptle4Y8ftHUAycd8dWUivoBCdB2ix0sPMaAW-IDnknvRopYR8ORnmNhAyh3Vno3Q=@proton.me>

next in thread | previous in thread | raw e-mail | index | archive | help
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 =E2=80=9Csrc=E2=80=
=9D 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
--=20
Dag-Erling Sm=C3=B8rgrav - des@FreeBSD.org



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