git: 1fcf388d7d - main - handbook: update current version before freebsd-upgrade

From: Ed Maste <emaste_at_FreeBSD.org>
Date: Tue, 19 Mar 2024 14:49:55 UTC
The branch main has been updated by emaste:

URL: https://cgit.FreeBSD.org/doc/commit/?id=1fcf388d7d2fdc399eaa8ebafea313f26443c2c9

commit 1fcf388d7d2fdc399eaa8ebafea313f26443c2c9
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2023-11-22 17:56:50 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2024-03-19 14:49:27 +0000

    handbook: update current version before freebsd-upgrade
    
    PR:             264142
    Reviewed by:    karels, Mina Galić <freebsd@igalic.co>, Pau Amma <pauamma@gundo.com>
    Sponsored by:   The FreeBSD Foundation
    Differential Revision: https://reviews.freebsd.org/D42722
---
 documentation/content/en/books/handbook/cutting-edge/_index.adoc | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/documentation/content/en/books/handbook/cutting-edge/_index.adoc b/documentation/content/en/books/handbook/cutting-edge/_index.adoc
index 448e0e348f..0bff3da9f5 100644
--- a/documentation/content/en/books/handbook/cutting-edge/_index.adoc
+++ b/documentation/content/en/books/handbook/cutting-edge/_index.adoc
@@ -281,6 +281,14 @@ If the system is running a custom kernel, make sure that a copy of the [.filenam
 Refer to <<freebsd-update-custom-kernel-9x>> for instructions on how to get a copy of the [.filename]#GENERIC# kernel.
 ====
 
+Before upgrading to a new version, ensure the existing FreeBSD installation is up to date with respect to security and errata patches:
+
+[source,shell]
+....
+# freebsd-update fetch
+# freebsd-update install
+....
+
 The following command, when run on a FreeBSD 13.1 system, will upgrade it to FreeBSD 13.2:
 
 [source,shell]