Date: Mon, 09 Dec 2024 13:34:35 +0100 From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@FreeBSD.org> To: LuMiWa <lumiwa@dismail.de> Cc: questions@freebsd.org Subject: Re: FreeBSD-src-sys package for /usr/src/sys/ Message-ID: <86seqxavc4.fsf@ltc.des.dev> In-Reply-To: <20241208135719.68167d62@dismail.de> (lumiwa@dismail.de's message of "Sun, 8 Dec 2024 13:57:19 -0500") References: <20241203180607.4da49fa8@dismail.de> <fe58e01e-3187-4171-81e6-6cc3aae56efe@gmail.com> <6868cfb9-0c33-4d5e-b933-55b9166d5030@gmail.com> <20241208135719.68167d62@dismail.de>
next in thread | previous in thread | raw e-mail | index | archive | help
LuMiWa <lumiwa@dismail.de> writes: > I do not understand why freebsd-update upgrade -r 14.1-RELEASE didn't > install everything if I have settings src? Ignore Graham, he's talking about something completely different. The freebsd-update tool will only update what's already there. If you installed the source tree when you originally installed the machine, or added it later, then freebsd-update will keep it up-to-date. Otherwise, it will ignore source changes and only install binary patches. The same goes for other components, e.g. lib32 if you don't need it, or even the kernel if you use freebsd-update to maintain a jail, which doesn't need to have a kernel installed; freebsd-update will update what's there and ignore what isn't. If you're unsure about your source tree, `rm -rf /usr/src`, download src.txz for whichever version you have installed and unpack it in the correct location, then re-run `freebsd-update fetch install` to apply patches (this may be a good idea regardless as known bugs in older versions of freebsd-update may have resulted in a distorted source tree). Either way, you can safely use the default /etc/freebsd-update.conf. The only consequence if the configuration specifies a component which is not present on your system is a harmless warning message. 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?86seqxavc4.fsf>