Re: FreeBSD-src-sys package for /usr/src/sys/
Date: Mon, 09 Dec 2024 12:34:35 UTC
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 -- Dag-Erling Smørgrav - des@FreeBSD.org