From nobody Mon Dec 09 12:34:35 2024 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Y6LsW0kvKz5gFQf for ; Mon, 09 Dec 2024 12:34:39 +0000 (UTC) (envelope-from des@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y6LsV5HxSz42pV; Mon, 9 Dec 2024 12:34:38 +0000 (UTC) (envelope-from des@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733747678; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+f9nNRXDoegydpLKR+i51eOppD5orSw4ZqlFd/bHoWY=; b=EtGsnPOFzP/KtxSQnYlB5qC0GL65X/CqxXT5VFQUeOtilSBmVYImX09SixMC9WVgnwnqnY CFEOApcBhE6ltMaZiX2z1SJJizhBcP+ihelN+1mzK1NievW792AvPoEpfXINkfH9qvMcDL qvcPV1fdfvaRCiwhNYK0ZNbLt4cGx6CMyOPYEL3VrnBmaeOXQCJIl3b0AdfJXf0yyDiPu6 OaBl49cnV5HuOri0J8yIUxmY0JFua/MoXNcWJK2crDyJL/DONrSss/wqnDUjGmQZueu1nT qOo2TBOvDGKFDBxUR6URlvq/O3F1/lb2LOGWMTbixjTCSySXaVpNGgCzeMzOIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733747678; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+f9nNRXDoegydpLKR+i51eOppD5orSw4ZqlFd/bHoWY=; b=hIkOw0wuYpV7WGgOaU5yle2mo8bLtSomaGYPjj7ogYN9lGYukEbFwlZqysmnQBmGrPiMoC 2nll0lGGMUtxtvZ7pDH6efj+ttvHP1OPk5lUna0YnOMwly9AkzB0plr8Wi+X57lzXKKd+B T+5VWF4hMgh9+SfbTK7o5zfCcH4yuxbTqWSVTsBshKDl7iTchntXvPS2xHxIGZkvdRUiak uC917KO0iS/Pe8Eeqj2fc2zVb4iEYurgCSc+bWooDK0p2kBk0rUKiNwqEhQ2NMfUoC/bGH OpCyuuP3zTsS9PkAgV6uWy+cwov72k/iz0TCo7XDukIAVxv7P5DULXfQ+naHaA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1733747678; a=rsa-sha256; cv=none; b=Y/fXZRSAY7KqZNWLG89wyN7XrmqpuEmv0Ig+7YIAchOGTHgH9GXnRI3blRWghyt/XSoN2t 4JwdL2qBD597sJND+j2C4m+SWKocJ4IFAjpI3WGl2BJpw6vqYSH3hVzGRNrSsyu7YjnFIm TY4G/3q36qWHLzN5v1RnReLNJV8fKxVAK2rsZi6qSJcO4NC6+hEwhbKZBzxEJgEmN8+lCe 7+aEI4J1Sl3/Lm8+FU9p6eCfbrOc9iRP6yqe5sGMgu0OJKIaIZLq1RTr1P59aLEwcjvO52 Jtv52Z+rIoSf1SEOZhCC0VlyQuFJK+uhBMV6dbIPYUkmUXn9efA2SHzYeg5wCg== Received: from ltc.des.dev (88-177-82-251.subs.proxad.net [88.177.82.251]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: des) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Y6LsV1qsBzTr1; Mon, 9 Dec 2024 12:34:38 +0000 (UTC) (envelope-from des@freebsd.org) Received: by ltc.des.dev (Postfix, from userid 1001) id 4EA39607B0; Mon, 09 Dec 2024 13:34:35 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: LuMiWa Cc: questions@freebsd.org Subject: Re: FreeBSD-src-sys package for /usr/src/sys/ 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> <6868cfb9-0c33-4d5e-b933-55b9166d5030@gmail.com> <20241208135719.68167d62@dismail.de> User-Agent: Gnus/5.13 (Gnus v5.13) Date: Mon, 09 Dec 2024 13:34:35 +0100 Message-ID: <86seqxavc4.fsf@ltc.des.dev> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable LuMiWa 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