Date: Tue, 5 Jan 2021 18:18:58 +0000 From: Matthew Seaman <matthew@FreeBSD.org> To: Janos Dohanics <web@3dresearch.com>, FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Building from source Message-ID: <316b2f6d-a4c3-1ae9-6d8b-e0fd54366251@FreeBSD.org> In-Reply-To: <20210104144122.2c7c054e4c95d127ee1dc116@3dresearch.com> References: <20210104144122.2c7c054e4c95d127ee1dc116@3dresearch.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --tn9a9w9ZuCyhf8dbNdx1iFNutjf7Bb7NO Content-Type: multipart/mixed; boundary="Hm5iXXbyqLY7Y84CKPj33Na2LlatEpRYs"; protected-headers="v1" From: Matthew Seaman <matthew@FreeBSD.org> To: Janos Dohanics <web@3dresearch.com>, FreeBSD Questions <freebsd-questions@freebsd.org> Message-ID: <316b2f6d-a4c3-1ae9-6d8b-e0fd54366251@FreeBSD.org> Subject: Re: Building from source References: <20210104144122.2c7c054e4c95d127ee1dc116@3dresearch.com> In-Reply-To: <20210104144122.2c7c054e4c95d127ee1dc116@3dresearch.com> --Hm5iXXbyqLY7Y84CKPj33Na2LlatEpRYs Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: quoted-printable On 04/01/2021 19:41, Janos Dohanics wrote: > However, https://www.freebsd.org/doc/handbook/makeworld.html does not > mention single user mode. That documentation is in need of updating, since the switch of the src=20 repo from SVN to git last month. It also still recommends mergemaster=20 which is (or will soon be) deprecated in HEAD and gone in FreeBSD-13 --=20 you should use etcupdate instead. Having said that, aside from the way you checkout the sources, and the=20 mergester vs etcupdate thing, the procedure in the current version of=20 the handbook is correct. > Should I assume that these days best practice allows rebuilding > world/kernel without needing to boot into single user mode? It hasn't actually been necessary to buildworld or buildkernel in single = user mode for as long as I've been doing that, which is as far back as=20 FreeBSD-3.2. Nor do you need to be in single user mode to do either the = installkernel or installworld steps -- although as shown, it can be good = idea to reboot to a new kernel before upgrading to your new world. Even = that isn't entirely necessary if you're tracking one of the -RELEASE or=20 -STABLE branches and just using the GENERIC kernel. Although if you do happen to be running on a ZFS machine, then the=20 recommended way to upgrade is to use the boot environments feature.=20 There's plenty of articles on the net about how to do that, or feel free = to ask here if this is something relevant to you. Cheers, Matthew --Hm5iXXbyqLY7Y84CKPj33Na2LlatEpRYs-- --tn9a9w9ZuCyhf8dbNdx1iFNutjf7Bb7NO Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEEGfFU7L8RLlBUTj8wAFE/EOCp5OcFAl/0rZIFAwAAAAAACgkQAFE/EOCp5OcA jBAAlK72mjw0+vrZVCvaqCv/0cG0cvQaTjZEigL/NP9FTvlTCMLYfi05JhUP4Ki85gXZM/K/WQj1 HiHo0X2vIxnBiXcnLwNBOJ7Ig5gQ80C1hPNc58Iz9C1zSFqHf/73hKUoXLjbxR6h4YPnubjNMZ63 DMn9Gjd4qSA4jUCWujhYrxW2egweUD0zSs5wK6eknuV+3zhxyuxA+UP5VA+bx4DTWWpffp2zd+CK +IlX9IUzU/Dw4hyGpeTVhWnL9hukPEG3cTx3x+aD7ykoimMxXqy24X/FPOkhAdchhs6a+xrw4AKz syRz+mGAa5p4RN5nBYOlJeZzrfyFxu5ZilceFFGjUknzFkSJFpRO3w8CjLTXEMLFnvsa0VIUNhd+ wBUEayzWesSyvNPo4psa1BAKhdBHNtwAqTSpX5NmRjTIBq954zOO5BLbPufzXltIv+ABjPGdOdSW jBVRZZJQ4NlDSZtto8F89wMhAE2KMOu/TCWnEYWoT/btl775NQDsLJaSqofa3OMJp1yJY8jfgbyK 7re+O8K4LMvCd32rJQQmB0I/xsA2eHeiKLazys72KcoNHoxHDxicy7IjICwqyZa8B24FXcrd8jk8 LezpUkX/TSuoJiVCQl6zd/3Nmcjp4zQeCdcVWd58vdN1fjVIWHFzzwT8u1PSGoGkn6FY8k22xRiA 52Y= =1xnu -----END PGP SIGNATURE----- --tn9a9w9ZuCyhf8dbNdx1iFNutjf7Bb7NO--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?316b2f6d-a4c3-1ae9-6d8b-e0fd54366251>