Skip to content

Commit

Permalink
Update freebsd-update section to reference upgrading 13.1 to 13.2
Browse files Browse the repository at this point in the history
Sponsored By:	Klara, Inc.
  • Loading branch information
allanjude committed Apr 11, 2023
1 parent 6eabd39 commit b8788e6
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions documentation/content/en/books/handbook/cutting-edge/_index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -257,11 +257,11 @@ 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.
====

The following command, when run on a FreeBSD 13.0 system, will upgrade it to FreeBSD 13.1:
The following command, when run on a FreeBSD 13.1 system, will upgrade it to FreeBSD 13.2:

[source,shell]
....
# freebsd-update -r 13.1-RELEASE upgrade
# freebsd-update -r 13.2-RELEASE upgrade
....

After the command has been received, `freebsd-update` will evaluate the configuration file and current system in an attempt to gather the information necessary to perform the upgrade.
Expand All @@ -271,7 +271,7 @@ For example:
[source,shell]
....
Looking up update.FreeBSD.org mirrors... 1 mirrors found.
Fetching metadata signature for 13.0-RELEASE from update1.FreeBSD.org... done.
Fetching metadata signature for 13.2-RELEASE from update1.FreeBSD.org... done.
Fetching metadata index... done.
Inspecting system... done.
Expand All @@ -296,7 +296,7 @@ When using a custom kernel, the above step will produce a warning similar to the
[source,shell]
....
WARNING: This system is running a "MYKERNEL" kernel, which is not a
kernel configuration distributed as part of FreeBSD 13.0-RELEASE.
kernel configuration distributed as part of FreeBSD 13.1-RELEASE.
This kernel will not be updated: you MUST update the kernel manually
before running "/usr/sbin/freebsd-update install"
....
Expand Down Expand Up @@ -794,16 +794,16 @@ Determine which version of FreeBSD is being used with man:uname[1]:
[source,shell]
....
# uname -r
13.1-RELEASE
13.2-RELEASE
....
Based on <<updating-src-obtaining-src-repopath>>, the source used to update `13.1-RELEASE` has a repository path of `releng/13.1`.
Based on <<updating-src-obtaining-src-repopath>>, the source used to update `13.2-RELEASE` has a repository path of `releng/13.2`.
That path is used when checking out the source:
[source,shell]
....
# mv /usr/src /usr/src.bak <.>
# git clone --branch releng/13.1 https://git.FreeBSD.org/src.git /usr/src <.>
# git clone --branch releng/13.2 https://git.FreeBSD.org/src.git /usr/src <.>
....
<.> Move the old directory out of the way. If there are no local modifications in this directory, it can be deleted.
Expand Down

0 comments on commit b8788e6

Please sign in to comment.